diff options
| author | Ian Kent <[email protected]> | 2007-02-20 21:58:10 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-02-21 01:10:15 +0000 |
| commit | c9ffec48487849bc277de662a6c29aad64653b99 (patch) | |
| tree | 42f848ada18ac6d241a952e55c765305b4278e90 /lib/genalloc.c | |
| parent | [PATCH] autofs4: fix another race between mount and expire (diff) | |
| download | kernel-c9ffec48487849bc277de662a6c29aad64653b99.tar.gz kernel-c9ffec48487849bc277de662a6c29aad64653b99.zip | |
[PATCH] autofs4: check for directory re-create in lookup
This problem was identified and fixed some time ago by Jeff Moyer but it fell
through the cracks somehow.
It is possible that a user space application could remove and re-create a
directory during a request. To avoid returning a failure from lookup
incorrectly when our current dentry is unhashed we need to check if another
positive, hashed dentry matching this one exists and if so return it instead
of a fail.
Signed-off-by: Jeff Moyer <[email protected]>
Signed-off-by: Ian Kent <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions
