summaryrefslogtreecommitdiffstats
path: root/fs/ceph/cache.h
diff options
context:
space:
mode:
authorYan, Zheng <zheng.z.yan@intel.com>2013-12-05 12:38:59 +0800
committerSage Weil <sage@inktank.com>2013-12-13 09:11:36 -0800
commit86b58d13134ef14f09f8c8f37797ccc37cf823a3 (patch)
treeccb2a0ec594ef9f746bc1b97d6733b6b9dfbc948 /fs/ceph/cache.h
parent374b105797c3d4f29c685f3be535c35f5689b30e (diff)
downloadlinux-86b58d13134ef14f09f8c8f37797ccc37cf823a3.tar.gz
linux-86b58d13134ef14f09f8c8f37797ccc37cf823a3.tar.bz2
linux-86b58d13134ef14f09f8c8f37797ccc37cf823a3.zip
ceph: initialize inode before instantiating dentry
commit b18825a7c8 (Put a small type field into struct dentry::d_flags) put a type field into struct dentry::d_flags. __d_instantiate() set the field by checking inode->i_mode. So we should initialize inode before instantiating dentry when handling mds reply. Fixes: http://tracker.ceph.com/issues/6930 Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com> Reviewed-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/cache.h')
0 files changed, 0 insertions, 0 deletions