Re: linux-next: manual merge of the ceph tree with Linus' tree

From: Al Viro
Date: Tue Jan 10 2012 - 20:31:33 EST


On Wed, Jan 11, 2012 at 12:27:44PM +1100, Stephen Rothwell wrote:
> Hi Sage,
>
> Today's linux-next merge of the ceph tree got a conflict in
> fs/ceph/super.c between commit 3c5184ef1216 ("ceph: d_alloc_root() may
> fail") from Linus' tree and commit 26d913cdd955 ("ceph: always initialize
> the dentry in open_root_dentry()") from the ceph tree.
>
> I fixed it up (see below) and can carry the fix as necessary.

Ahem...

> + root = d_obtain_alias(inode);
> + }
> + ceph_init_dentry(root);

What will happen if dentry returned by d_obtain_alias() had already existed?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/