On Tue, Feb 18, 2014 at 03:28:58PM -0500, J. Bruce Fields wrote: > From: "J. Bruce Fields" <bfields@xxxxxxxxxx> > > d_splice_alias will d_move an IS_ROOT() directory dentry into place if > one exists. This should be safe as long as the dentry remains IS_ROOT, > but I can't see what guarantees that: once we drop the i_lock all we > hold here is the i_mutex on an unrelated parent directory. > > Instead copy the logic of d_materialise_unique. Looks good, Reviewed-by: Christoph Hellwig <hch@xxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html