commit | 75126f5504524dd0f24753d8815db42d9ab23614 | [log] [tgz] |
---|---|---|
author | Miklos Szeredi <mszeredi@redhat.com> | Thu Jan 24 10:40:17 2019 +0100 |
committer | Miklos Szeredi <mszeredi@redhat.com> | Wed Feb 13 13:15:14 2019 +0100 |
tree | ec0cde9b5ec4fab5037f7ce702ac81e3da6d0eb7 | |
parent | eb98e3bdf3aa7b15b40c65063ea935f953f60c6b [diff] [blame] |
fuse: use atomic64_t for khctr ...to get rid of one more fc->lock use. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h index b1ac587..033e30a 100644 --- a/fs/fuse/fuse_i.h +++ b/fs/fuse/fuse_i.h
@@ -544,7 +544,7 @@ struct fuse_conn { struct fuse_iqueue iq; /** The next unique kernel file handle */ - u64 khctr; + atomic64_t khctr; /** rbtree of fuse_files waiting for poll events indexed by ph */ struct rb_root polled_files;