From: Yan, Zheng Date: Thu, 5 Dec 2013 04:38:59 +0000 (+0800) Subject: ceph: initialize inode before instantiating dentry X-Git-Tag: v3.13-rc5~36^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86b58d13134ef14f09f8c8f37797ccc37cf823a3;p=pandora-kernel.git 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 Reviewed-by: Sage Weil --- Reading git-diff-tree failed