Re: [PATCH 1/7] cachefiles: use path_get instead of lone dget

From: Miklos Szeredi
Date: Tue Jul 06 2010 - 15:24:30 EST


On Tue, 06 Jul 2010, David Howells wrote:
> Miklos Szeredi <miklos@xxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/