diff options
author | Yan, Zheng <zheng.z.yan@intel.com> | 2013-12-05 12:38:59 +0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-12-13 09:11:36 -0800 |
commit | 86b58d13134ef14f09f8c8f37797ccc37cf823a3 (patch) | |
tree | ccb2a0ec594ef9f746bc1b97d6733b6b9dfbc948 /fs/locks.c | |
parent | 374b105797c3d4f29c685f3be535c35f5689b30e (diff) | |
download | linux-86b58d13134ef14f09f8c8f37797ccc37cf823a3.tar.bz2 |
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/locks.c')
0 files changed, 0 insertions, 0 deletions