summaryrefslogtreecommitdiffstats
path: root/src/client/Inode.h
diff options
context:
space:
mode:
authorYan, Zheng <zyan@redhat.com>2015-10-27 07:41:29 +0100
committerYan, Zheng <zyan@redhat.com>2015-12-24 08:49:47 +0100
commit8d2df89ae22031226b9e0268d78fc17aeb73c957 (patch)
treef1d971c15276826ccf7bfd91719231df3785b2d6 /src/client/Inode.h
parentMerge remote-tracking branch 'origin/jewel' (diff)
downloadceph-8d2df89ae22031226b9e0268d78fc17aeb73c957.tar.xz
ceph-8d2df89ae22031226b9e0268d78fc17aeb73c957.zip
client: wait unsafe requests that created/modified the file in fsync()
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'src/client/Inode.h')
-rw-r--r--src/client/Inode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Inode.h b/src/client/Inode.h
index a13fd98bc7b..7b7daa1ec69 100644
--- a/src/client/Inode.h
+++ b/src/client/Inode.h
@@ -295,7 +295,7 @@ struct Inode {
ceph_lock_state_t *fcntl_locks;
ceph_lock_state_t *flock_locks;
- xlist<MetaRequest*> unsafe_dir_ops;
+ xlist<MetaRequest*> unsafe_ops;
Inode(Client *c, vinodeno_t vino, ceph_file_layout *newlayout)
: client(c), ino(vino.ino), snapid(vino.snapid), faked_ino(0),