NeilBrown
cd15654963
[PATCH] knfsd: nfsd: oops exporting nonexistent directory
...
Export a directory that does not exist:
exportfs -orw,fsid=0,insecure,no_subtree_check client:/home/NFS4
Try to mount from client with nfs4. Mount hangs (I'm not sure why -
that's another issue).
While client is hung, back on server
mkdir /home/NFS4
The server panics in dput. I traced the problem back to svc_export_parse()
calling path_release() even though path_lookup() failed (it happens to fill in
the nameidata structure with a negative dentry - so the test after out:
succeeds).
After patching, an recreating the problem, the client mount still takes some
time before finally exiting with a message "couldn't read superblock".
Here is a simple patch to resolve this issue:
Signed-off-by: Frank Filz <ffilzlnx@us.ibm.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-04-11 06:18:52 -07:00
..
2006-04-11 06:18:41 -07:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-31 22:43:50 +00:00
2006-03-28 09:16:06 -08:00
2006-04-10 11:16:17 -07:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-23 07:38:17 -08:00
2006-03-28 09:16:06 -08:00
2006-01-18 19:20:28 -08:00
2006-03-30 12:28:18 -08:00
2006-04-11 06:18:46 -07:00
2006-03-28 09:16:06 -08:00
2006-04-02 13:41:02 +02:00
2006-04-11 06:18:49 -07:00
2006-03-28 09:16:06 -08:00
2006-04-01 01:14:43 +02:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-31 12:18:51 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-26 08:56:55 -08:00
2006-03-28 09:16:06 -08:00
2006-04-01 01:15:35 +02:00
2006-03-28 09:16:06 -08:00
2006-03-26 08:56:55 -08:00
2006-03-28 09:16:06 -08:00
2006-03-31 12:18:55 -08:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2005-10-11 09:46:54 -07:00
2006-04-11 06:18:52 -07:00
2006-03-24 07:33:19 -08:00
2006-03-28 09:16:06 -08:00
2006-04-07 18:03:09 -07:00
2006-03-28 09:16:06 -08:00
2006-03-29 13:24:50 +11:00
2006-04-11 06:18:42 -07:00
2006-03-28 09:16:06 -08:00
2006-03-28 09:16:06 -08:00
2006-03-30 12:28:18 -08:00
2006-03-28 09:16:06 -08:00
2006-04-01 01:16:26 +02:00
2006-04-02 13:03:31 -07:00
2006-04-02 13:39:21 +02:00
2006-04-02 13:40:13 +02:00
2006-03-28 09:16:06 -08:00
2006-03-31 12:18:55 -08:00
2006-04-11 06:18:35 -07:00
2006-03-25 08:23:00 -08:00
2006-01-11 18:42:13 -08:00
2006-03-28 09:16:06 -08:00
2006-01-10 08:01:25 -08:00
2006-03-24 18:38:48 +01:00
2006-03-25 09:10:52 -08:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:23:01 -08:00
2006-03-28 09:16:06 -08:00
2005-04-16 15:20:36 -07:00
2005-10-29 21:40:38 -07:00
2006-03-26 08:57:00 -08:00
2006-03-28 09:16:06 -08:00
2006-03-27 08:44:48 -08:00
2006-03-31 12:18:53 -08:00
2006-03-24 07:33:19 -08:00
2006-03-28 09:16:04 -08:00
2006-03-31 12:19:00 -08:00
2006-03-26 08:56:56 -08:00
2006-04-01 01:10:13 +02:00
2006-03-26 08:56:56 -08:00
2006-04-02 13:36:13 +02:00
2006-01-08 20:12:40 -08:00
2006-04-11 06:18:42 -07:00
2006-04-11 06:18:42 -07:00
2006-04-02 13:37:19 +02:00
2006-03-28 09:16:06 -08:00
2006-03-23 07:38:17 -08:00
2006-03-28 09:16:05 -08:00
2005-10-30 17:37:32 -08:00
2006-03-25 08:22:56 -08:00
2006-04-02 13:38:18 +02:00
2006-04-11 06:18:45 -07:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-04-11 06:18:45 -07:00
2006-01-08 20:13:36 -08:00
2006-03-28 09:16:06 -08:00
2006-03-31 12:18:56 -08:00
2006-03-31 12:18:54 -08:00
2006-03-28 09:16:08 -08:00
2006-03-26 08:57:01 -08:00
2006-03-31 12:19:01 -08:00
2006-04-11 06:18:41 -07:00
2006-03-24 07:33:19 -08:00
2006-03-25 09:24:53 -08:00
2006-04-02 23:11:04 +02:00
2006-03-24 07:33:24 -08:00
2005-11-07 18:18:11 -08:00
2005-10-08 15:00:57 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-03-23 07:38:11 -08:00
2006-03-28 09:16:06 -08:00
2006-01-09 15:59:24 -08:00
2006-04-11 06:18:41 -07:00
2006-03-23 07:38:12 -08:00
2006-04-02 23:11:04 +02:00
2006-02-11 21:41:10 -08:00
2006-03-26 08:56:55 -08:00
2006-04-11 06:18:40 -07:00
2005-04-16 15:20:36 -07:00
2006-03-20 14:08:53 -05:00