ceph: tolerate (and warn on) extraneous dentry from mds
authorSage Weil <[email protected]>
Tue, 21 Aug 2012 22:55:25 +0000 (15:55 -0700)
committerSage Weil <[email protected]>
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 <[email protected]>
Signed-off-by: Sage Weil <[email protected]>
Reviewed-by: Alex Elder <[email protected]>
fs/ceph/inode.c