Al Viro
1ead0e79bf
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>
2014-12-03 09:36:03 -08:00
..
2014-10-09 02:39:04 -04:00
2014-08-08 15:57:24 -07:00
2014-10-14 02:18:22 +02:00
2014-10-13 16:23:15 +02:00
2014-10-14 02:18:16 +02:00
2014-10-14 02:18:20 +02:00
2014-08-08 15:57:24 -07:00
2014-11-30 09:33:51 -08:00
2014-10-14 08:40:15 +02:00
2014-11-13 22:19:05 +03:00
2014-10-17 17:17:12 -05:00
2014-08-08 15:57:20 -07:00
2014-06-04 16:53:53 -07:00
2014-08-08 15:57:25 -07:00
2014-07-09 16:58:21 -07:00
2014-06-06 16:08:14 -07:00
2014-10-14 15:11:48 -05:00
2014-10-24 00:14:39 +02:00
2014-06-04 16:54:14 -07:00
2014-08-08 15:57:18 -07:00
2014-10-19 20:22:32 +03:00
2014-06-04 16:54:14 -07:00
2014-09-08 09:51:29 +09:00
2014-10-22 09:02:48 +02:00
2014-10-30 10:53:17 -04:00
2014-10-07 11:54:41 -07:00
2014-12-03 09:36:03 -08:00
2014-04-04 15:39:39 -07:00
2014-10-13 17:52:21 +01:00
2014-10-09 02:38:57 -04:00
2014-10-13 11:28:42 +02:00
2014-10-14 02:18:20 +02:00
2014-06-12 10:30:18 -07:00
2014-08-07 14:40:09 -04:00
2014-08-08 15:57:22 -07:00
2014-06-04 16:54:11 -07:00
2014-11-19 13:09:37 -05:00
2014-10-22 10:02:04 +02:00
2014-12-01 21:57:06 -05:00
2014-10-09 02:39:01 -04:00
2014-10-13 16:23:15 +02:00
2014-10-09 02:38:56 -04:00
2014-10-11 13:21:34 -04:00
2014-08-06 18:01:12 -07:00
2014-08-08 15:57:20 -07:00
2014-10-14 02:18:16 +02:00
2014-11-12 17:19:04 -05:00
2014-09-17 16:33:11 -04:00
2014-11-19 15:45:44 -05:00
2014-10-14 02:18:20 +02:00
2014-11-13 16:17:06 -08:00
2014-10-16 12:53:35 +01:00
2014-11-05 15:21:18 -05:00
2014-10-14 02:18:22 +02:00
2014-11-20 16:40:02 +01:00
2014-10-14 02:18:28 +02:00
2014-10-15 13:51:33 -07:00
2014-08-08 15:57:26 -07:00
2014-10-22 09:08:03 +02:00
2014-08-08 15:57:18 -07:00
2014-10-14 02:18:20 +02:00
2014-08-08 15:57:25 -07:00
2014-08-06 18:01:13 -07:00
2014-06-03 08:11:18 -07:00
2014-05-06 17:38:00 -04:00
2014-09-30 09:29:44 +03:00
2014-10-09 13:06:14 +02:00
2014-10-14 02:18:20 +02:00
2014-11-07 08:33:52 +11:00
2014-11-25 18:55:44 -08:00
2014-03-27 09:52:54 -07:00
2014-06-10 13:57:22 -07:00
2014-08-07 14:40:09 -04:00
2014-10-09 02:39:00 -04:00
2014-10-09 02:39:00 -04:00
2014-10-09 02:39:00 -04:00
2014-06-04 16:54:21 -07:00
2014-10-14 02:18:16 +02:00
2014-10-31 06:33:26 -04:00
2014-10-21 13:55:11 -06:00
2014-07-11 13:53:04 +03:00
2014-10-09 02:39:16 -04:00
2014-10-14 02:18:21 +02:00
2014-11-19 13:07:20 -05:00
2014-09-26 21:16:51 -04:00
2014-06-06 16:08:16 -07:00
2014-09-10 15:42:12 -07:00
2014-10-09 02:39:00 -04:00
2014-09-09 16:01:36 -04:00
2014-10-13 11:28:42 +02:00
2014-10-13 15:44:12 +02:00
2014-04-03 16:21:05 -07:00
2014-08-07 14:40:09 -04:00
2014-07-16 15:10:39 +02:00
2014-08-08 15:57:31 -07:00
2014-10-24 00:14:35 +02:00
2014-10-24 00:14:38 +02:00
2014-10-07 14:06:12 -04:00
2014-10-07 14:06:13 -04:00
2014-11-20 16:39:59 +01:00
2014-06-25 22:08:29 -04:00
2014-10-09 02:38:55 -04:00
2014-10-09 22:25:53 -04:00
2014-11-02 10:28:43 -08:00
2014-10-24 00:14:36 +02:00
2014-10-24 00:14:35 +02:00
2014-05-06 17:39:42 -04:00
2014-08-30 18:31:41 -04:00
2014-04-01 23:19:08 -04:00
2014-05-06 13:58:42 -04:00
2014-07-29 18:08:50 -07:00
2014-10-09 02:39:05 -04:00
2014-06-04 16:53:52 -07:00
2014-07-03 09:21:54 -07:00
2014-10-24 00:14:35 +02:00
2014-08-26 09:35:56 +02:00
2014-10-13 11:28:42 +02:00
2014-09-05 08:16:21 -07:00
2014-08-27 11:17:48 +02:00
2014-10-12 17:09:10 -04:00