diff options
| author | Yan, Zheng <[email protected]> | 2013-12-05 04:38:59 +0000 |
|---|---|---|
| committer | Sage Weil <[email protected]> | 2013-12-13 17:11:36 +0000 |
| commit | 86b58d13134ef14f09f8c8f37797ccc37cf823a3 (patch) | |
| tree | ccb2a0ec594ef9f746bc1b97d6733b6b9dfbc948 /net/tipc/handler.c | |
| parent | Linux 3.13-rc3 (diff) | |
| download | kernel-86b58d13134ef14f09f8c8f37797ccc37cf823a3.tar.gz kernel-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 <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Diffstat (limited to 'net/tipc/handler.c')
0 files changed, 0 insertions, 0 deletions
