On Wed, Dec 28, 2011 at 06:05:14PM -0800, Sage Weil wrote: > From: Alex Elder <elder@xxxxxxxxxxxxx> > > The ceph code duplicates __d_find_any_alias(), but it currently > does not take a reference to the returned dentry as it should. > Replace the ceph implementation with an exact copy of what's > found in "fs/dcache.c", and update the callers so they drop > their reference when they're done with it. > > Unfortunately this requires the wholesale copy of the functions > that implement __dget(). It would be much nicer to just export > d_find_any_alias() from "fs/dcache.c" instead. Just exporting it would indeed be much better. -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html