ceph: tolerate (and warn on) extraneous dentry from mds
Alex Elder
Reviewed-byForgot to copy the list. Sorry. -Alex
-------- Original Message --------
Subject: Re: [PATCH 2/4] ceph: tolerate (and warn on) extraneous dentry from mds
Date: Tue, 21 Aug 2012 15:02:05 -0500
From: Alex Elder <[email protected]>
To: Sage Weil <[email protected]>
Quoted 5 lines · Sage Weil
If the MDS gives us a dentry and we weren't prepared to handle it,
WARN_ON_ONCEinstead of crashing.Reported-by Yan, Zheng <[email protected]>Signed-off-by Sage Weil <[email protected]>
The fix looks good to me, but I confess I did not follow the calling paths through well enough to know when we might see a null d_locked_dir.
Reviewed-by Alex Elder <[email protected]>
. . .