commit | 86b58d13134ef14f09f8c8f37797ccc37cf823a3 | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zheng.z.yan@intel.com> | Thu Dec 05 12:38:59 2013 +0800 |
committer | Sage Weil <sage@inktank.com> | Fri Dec 13 09:11:36 2013 -0800 |
tree | ccb2a0ec594ef9f746bc1b97d6733b6b9dfbc948 | |
parent | 374b105797c3d4f29c685f3be535c35f5689b30e [diff] |
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>