Al Viro
d893f1bc2a
fix open/umount race
...
nameidata_to_filp() drops nd->path or transfers it to opened
file. In the former case it's a Bad Idea(tm) to do mnt_drop_write()
on nd->path.mnt, since we might race with umount and vfsmount in
question might be gone already.
Fix: don't drop it, then... IOW, have nameidata_to_filp() grab nd->path
in case it transfers it to file and do path_drop() in callers. After
they are through with accessing nd->path...
Reported-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2010-10-29 04:14:56 -04:00
..
2010-10-28 09:08:49 -05:00
2010-10-22 10:52:01 -07:00
2010-10-25 21:26:11 -04:00
2010-10-26 17:58:44 -07:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-10-15 15:53:27 +02:00
2010-10-26 16:52:05 -07:00
2010-10-26 16:52:05 -07:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-08-18 01:01:33 -04:00
2010-10-25 21:26:11 -04:00
2010-10-22 17:33:16 -07:00
2010-10-24 13:41:39 -07:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:13 -04:00
2010-10-27 20:13:18 -07:00
2010-10-27 20:13:18 -07:00
2010-10-28 15:46:57 -07:00
2010-10-22 17:07:18 -07:00
2010-10-25 21:26:11 -04:00
2010-08-12 09:51:35 -07:00
2010-10-27 18:03:17 -07:00
2010-10-26 17:58:44 -07:00
2010-10-25 21:24:16 -04:00
2010-10-28 09:32:05 -07:00
2010-10-26 16:52:12 -07:00
2010-10-22 10:52:01 -07:00
2010-10-15 15:53:27 +02:00
2010-10-26 17:58:44 -07:00
2010-10-27 18:03:08 -07:00
2010-10-27 20:13:18 -07:00
2010-10-27 21:54:31 -07:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-10-27 21:39:50 +02:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-10-05 11:02:14 +02:00
2010-10-29 04:14:48 -04:00
2010-10-27 18:13:34 -07:00
2010-10-26 17:58:44 -07:00
2010-10-25 21:27:18 -04:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-08-10 11:47:36 -07:00
2010-10-25 07:45:10 -07:00
2010-10-27 18:03:13 -07:00
2010-10-21 18:48:04 +02:00
2010-10-28 01:30:06 +02:00
2010-10-25 21:26:11 -04:00
2010-10-26 17:58:44 -07:00
2010-10-15 15:53:27 +02:00
2010-10-22 10:52:56 -07:00
2010-10-22 19:36:42 -07:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-10-27 20:13:18 -07:00
2010-10-25 21:26:11 -04:00
2010-10-25 21:26:11 -04:00
2010-08-09 16:47:39 -04:00
2010-08-14 00:24:24 +02:00
2010-10-14 10:57:40 -07:00
2010-10-08 10:02:53 +01:00
2010-10-25 21:26:11 -04:00
2010-08-17 18:07:43 -07:00
2010-08-23 13:36:59 +02:00
2010-08-07 18:20:39 +02:00
2010-10-25 21:26:15 -04:00
2010-10-26 17:58:44 -07:00
2010-10-22 10:52:56 -07:00
2010-10-28 09:44:56 -07:00
2010-10-28 09:44:56 -07:00
2010-10-25 21:26:13 -04:00
2010-10-26 16:52:13 -07:00
2010-08-09 16:47:44 -04:00
2010-10-15 15:53:27 +02:00
2010-10-27 18:03:18 -07:00
2010-10-27 18:03:13 -07:00
2010-10-27 18:17:02 -07:00
2010-10-15 15:53:27 +02:00
2010-10-26 16:52:15 -07:00
2010-08-11 08:59:02 -07:00
2010-08-18 08:35:46 -04:00
2010-10-26 17:58:44 -07:00
2010-08-18 01:04:22 -04:00
2010-10-26 17:58:44 -07:00
2010-10-25 21:27:18 -04:00
2010-10-27 21:30:11 -04:00
2010-10-28 09:44:56 -07:00
2010-10-27 18:03:12 -07:00
2010-10-25 21:26:11 -04:00
2010-10-27 18:13:34 -07:00
2010-10-28 09:44:56 -07:00
2010-08-18 06:24:41 -04:00
2010-10-29 04:14:56 -04:00
2010-10-25 21:24:16 -04:00
2010-10-15 15:53:27 +02:00
2010-10-29 04:14:56 -04:00
2010-10-25 21:26:11 -04:00
2010-08-18 08:35:48 -04:00
2010-10-25 21:18:21 -04:00
2010-08-09 20:45:05 -07:00
2010-10-27 18:03:18 -07:00
2010-10-25 21:26:12 -04:00
2010-10-26 10:13:10 -07:00
2010-08-07 18:52:56 +02:00
2010-08-13 16:53:13 -07:00
2010-08-09 16:48:44 -04:00
2010-10-25 21:27:18 -04:00
2010-08-09 16:47:43 -04:00
2010-10-15 15:53:27 +02:00
2010-08-13 16:53:13 -07:00