Skip to contentSkip to conversation

cachefiles: use path_get instead of lone dget

PATCH Miklos Szeredi 1 participant 1 message Jul 6, 2010 3 messages not in the archive VFS

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw
Quoted 6 lines · David Howells
Quoted 2 lines · Miklos Szeredi

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