ceph: do not chain inode updates to parent fsync
authorSage Weil <sage@inktank.com>
Tue, 5 Feb 2013 21:52:29 +0000 (13:52 -0800)
committerYan, Zheng <zheng.z.yan@intel.com>
Thu, 3 Apr 2014 02:33:52 +0000 (10:33 +0800)
commit752c8bdcfe88f27a17c5c9264df928fd145a4b30
tree755eb2453b772e826113fe30d9184870efb012c0
parent180061a58c17681dd236e5059ba57fe092dbe368
ceph: do not chain inode updates to parent fsync

The fsync(dirfd) only covers namespace operations, not inode updates.
We do not need to cover setattr variants or O_TRUNC.

Reported-by: Al Viro <viro@xeniv.linux.org.uk>
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/file.c
fs/ceph/inode.c
fs/ceph/ioctl.c
fs/ceph/xattr.c