J. Bruce Fields
ad1a2c878c
xfs: failure mapping nfs fh to inode should return ESTALE
...
On xfs exports, nfsd is incorrectly returning ENOENT instead of
ESTALE on attempts to use a filehandle of a deleted file (spotted
with pynfs test PUTFH3). The ENOENT was coming from xfs_iget.
(It's tempting to wonder whether we should just map all xfs_iget
errors to ESTALE, but I don't believe so--xfs_iget can also return
ENOMEM at least, which we wouldn't want mapped to ESTALE.)
While we're at it, the other return of ENOENT in xfs_nfs_get_inode()
also looks wrong.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Alex Elder <aelder@sgi.com>
2011-07-20 18:35:21 -05:00
..
2011-07-20 18:35:21 -05:00
2011-07-13 13:43:50 +02:00
2011-03-07 10:09:35 +11:00
2010-10-05 12:16:37 +02:00
2011-07-13 13:43:50 +02:00
2011-01-07 17:50:29 +11:00
2011-05-24 11:17:22 -05:00
2011-07-13 13:43:50 +02:00
2008-10-30 17:14:34 +11:00
2011-07-08 11:32:51 -05:00
2011-05-24 11:17:22 -05:00
2011-07-08 14:36:05 +02:00
2009-01-09 15:46:44 +11:00
2010-01-20 10:47:48 +11:00
2011-07-08 14:36:05 +02:00
2010-01-20 10:47:48 +11:00
2008-08-13 15:41:12 +10:00
2009-01-09 15:53:54 +11:00
2011-07-13 13:43:50 +02:00
2010-01-15 15:31:38 -06:00
2011-07-13 13:43:48 +02:00
2011-05-25 10:48:36 -05:00
2011-07-13 13:43:50 +02:00
2011-07-13 13:43:50 +02:00
2011-07-13 13:43:49 +02:00
2010-12-16 16:05:22 -06:00
2011-07-13 13:43:50 +02:00
2011-07-13 13:43:50 +02:00
2011-04-28 13:25:29 -05:00
2010-01-15 15:31:23 -06:00
2010-10-18 15:08:08 -05:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:48 +02:00
2011-07-13 13:43:49 +02:00
2011-07-13 13:43:48 +02:00
2011-03-07 10:08:35 +11:00
2011-03-07 10:09:35 +11:00
2011-01-28 09:01:33 -06:00
2010-12-20 11:59:49 +11:00
2010-11-10 12:00:48 -06:00
2010-07-26 13:16:51 -05:00
2011-07-08 11:32:51 -05:00
2011-07-11 10:21:03 -05:00
2011-01-11 20:28:17 -06:00
2011-07-13 13:43:50 +02:00
2009-02-09 08:37:14 +01:00
2011-07-08 14:36:05 +02:00
2009-09-01 12:45:39 -05:00
2011-07-13 13:43:50 +02:00
2011-07-13 13:43:49 +02:00
2010-07-26 13:16:36 -05:00
2011-07-13 13:43:50 +02:00
2011-07-08 14:34:47 +02:00
2011-07-08 14:35:03 +02:00
2011-07-11 10:21:03 -05:00
2010-12-16 16:05:51 -06:00
2011-04-08 08:09:12 -05:00
2010-06-24 11:35:17 +10:00
2011-05-24 11:17:13 -05:00
2011-04-28 13:18:04 -05:00
2011-07-13 13:43:49 +02:00
2010-05-24 10:33:39 -05:00
2011-07-13 13:43:49 +02:00
2011-04-28 13:18:04 -05:00
2011-07-20 18:35:03 -05:00
2011-07-20 18:35:03 -05:00
2011-02-01 11:42:43 +01:00
2010-01-15 15:34:22 -06:00
2011-03-07 10:01:35 +11:00
2010-12-09 17:07:02 -06:00
2011-03-07 10:08:35 +11:00
2011-03-07 10:08:35 +11:00
2011-03-07 10:08:35 +11:00
2010-02-12 13:43:57 -06:00
2010-10-18 15:08:08 -05:00
2011-05-09 18:35:04 -05:00
2011-07-13 13:43:49 +02:00
2010-12-20 11:59:49 +11:00
2011-07-08 14:34:47 +02:00
2011-04-08 12:45:07 +10:00
2009-02-09 08:37:14 +01:00
2011-07-11 10:21:03 -05:00
2011-07-11 10:21:03 -05:00
2011-04-28 13:18:04 -05:00
2010-10-18 15:08:06 -05:00
2010-10-18 15:08:06 -05:00
2011-07-08 14:36:25 +02:00
2011-07-08 14:34:23 +02:00
2011-07-13 13:43:50 +02:00