From: Miklos Szeredi on
On Tue, 06 Jul 2010, David Howells wrote:
> Miklos Szeredi <miklos(a)szeredi.hu> wrote:
>
> > Dentry references should not be acquired without a corresponding
> > vfsmount ref.
>
> Which we have: current->fs holds one. Or is this unsafe due to CLONE_FS?

current->fs doesn't change, but the contents can (e.g. another thread
does chdir()).

Thanks,
Miklos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: David Howells on
Miklos Szeredi <miklos(a)szeredi.hu> wrote:

> From: Miklos Szeredi <mszeredi(a)suse.cz>
>
> Dentry references should not be acquired without a corresponding
> vfsmount ref.
>
> CC: David Howells <dhowells(a)redhat.com>
> Signed-off-by: Miklos Szeredi <mszeredi(a)suse.cz>

Acked-by: David Howells <dhowells(a)redhat.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/