ceph: avoid updating directory inode's i_size accidentally
authorYan, Zheng <zyan@redhat.com>
Fri, 26 Feb 2016 09:16:32 +0000 (17:16 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Fri, 25 Mar 2016 17:51:53 +0000 (18:51 +0100)
commita3d714c33632ef6bfdfaacc74ae6ba297b4c5820
treec06a6b4821ea6f974b33d7e87e9aa952608e936a
parentaf5e5eb574776cdf1b756a27cc437bff257e22fe
ceph: avoid updating directory inode's i_size accidentally

Directory inode's i_size is used by readdir cache.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/inode.c