linux/fs/xfs/linux-2.6
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
..
kmem.c
kmem.h
mrlock.h
time.h
xfs_acl.c xfs: split xfs_setattr 2011-07-08 14:34:23 +02:00
xfs_aops.c xfs: re-enable non-blocking behaviour in xfs_map_blocks 2011-07-08 14:34:14 +02:00
xfs_aops.h
xfs_buf.c xfs: remove the unused xfs_buf_delwri_sort function 2011-07-13 13:43:49 +02:00
xfs_buf.h xfs: remove wrappers around b_iodone 2011-07-13 13:43:49 +02:00
xfs_discard.c xfs: add online discard support 2011-05-24 11:17:13 -05:00
xfs_discard.h xfs: add online discard support 2011-05-24 11:17:13 -05:00
xfs_export.c xfs: failure mapping nfs fh to inode should return ESTALE 2011-07-20 18:35:21 -05:00
xfs_export.h
xfs_file.c xfs: split xfs_setattr 2011-07-08 14:34:23 +02:00
xfs_fs_subr.c
xfs_globals.c
xfs_ioctl32.c xfs: add an x86 compat handler for XFS_IOC_ZERO_RANGE 2011-04-28 13:27:46 -05:00
xfs_ioctl32.h xfs: add an x86 compat handler for XFS_IOC_ZERO_RANGE 2011-04-28 13:27:46 -05:00
xfs_ioctl.c xfs: preallocation transactions do not need to be synchronous 2011-03-26 09:13:08 +11:00
xfs_ioctl.h
xfs_iops.c xfs: split xfs_itruncate_finish 2011-07-08 14:34:34 +02:00
xfs_iops.h
xfs_linux.h xfs: use generic get_unaligned_beXX helpers 2011-07-08 14:35:58 +02:00
xfs_message.c xfs: kill off xfs_printk() 2011-05-19 11:38:09 -05:00
xfs_message.h xfs: kill off xfs_printk() 2011-05-19 11:38:09 -05:00
xfs_quotaops.c
xfs_stats.c
xfs_stats.h
xfs_super.c xfs: remove leftovers of the old btree tracing code 2011-07-13 13:43:50 +02:00
xfs_super.h
xfs_sync.c xfs: Remove the second parameter to xfs_sb_count() 2011-07-20 18:35:03 -05:00
xfs_sync.h xfs: kill the unused struct xfs_sync_work 2011-07-08 14:34:51 +02:00
xfs_sysctl.c
xfs_sysctl.h
xfs_trace.c
xfs_trace.h xfs: clean up buffer locking helpers 2011-07-08 14:36:19 +02:00
xfs_vnode.h
xfs_xattr.c