diff options
| author | Al Viro <[email protected]> | 2014-12-02 23:59:37 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-12-03 17:36:03 +0000 |
| commit | 1ead0e79bfedd4b563b8ea7c585ca3884b0c89a7 (patch) | |
| tree | 7ef8e695dea004a6c6d8b8f2b602140b2912a014 /lib/genalloc.c | |
| parent | ipc/sem.c: fully initialize sem_array before making it visible (diff) | |
| download | kernel-1ead0e79bfedd4b563b8ea7c585ca3884b0c89a7.tar.gz kernel-1ead0e79bfedd4b563b8ea7c585ca3884b0c89a7.zip | |
fat: fix oops on corrupted vfat fs
a) don't bother with ->d_time for positives - we only check it for
negatives anyway.
b) make sure to set it at unlink and rmdir time - at *that* point
soon-to-be negative dentry matches then-current directory contents
c) don't go into renaming of old alias in vfat_lookup() unless it
has the same parent (which it will, unless we are seeing corrupted
image)
[[email protected]: make change minimum, don't call d_move() for dir]
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: OGAWA Hirofumi <[email protected]>
Cc: <[email protected]> [3.17.x]
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
