diff options
author | Al Viro | 2014-12-02 15:59:37 -0800 |
---|---|---|
committer | Linus Torvalds | 2014-12-03 09:36:03 -0800 |
commit | 1ead0e79bfedd4b563b8ea7c585ca3884b0c89a7 (patch) | |
tree | 7ef8e695dea004a6c6d8b8f2b602140b2912a014 /kernel/printk | |
parent | e8577d1f0329d4842e8302e289fb2c22156abef4 (diff) |
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)
[hirofumi@mail.parknet.co.jp: make change minimum, don't call d_move() for dir]
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Cc: <stable@vger.kernel.org> [3.17.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions