ceph: tolerate (and warn on) extraneous dentry from mds
authorSage Weil <sage@inktank.com>
Tue, 21 Aug 2012 22:55:25 +0000 (15:55 -0700)
committerSage Weil <sage@inktank.com>
Tue, 21 Aug 2012 22:55:25 +0000 (15:55 -0700)
commit6c5e50fa614fea5325a2973be06f7ec6f1055316
tree8732b96150e315ab711bfcccbaeef8b087af6e62
parentd1c338a509cea5378df59629ad47382810c38623
ceph: tolerate (and warn on) extraneous dentry from mds

If the MDS gives us a dentry and we weren't prepared to handle it,
WARN_ON_ONCE instead of crashing.

Reported-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Alex Elder <elder@inktank.com>
fs/ceph/inode.c