XFS internal error when NFS client accesses nonexistent inode
Christoph Hellwig
hch at infradead.org
Thu Jan 1 11:37:56 CST 2009
This should cure your shutdowns on a 2.6.27-ish codebase:
Index: btrfs-unstable/fs/xfs/linux-2.6/xfs_export.c
===================================================================
--- btrfs-unstable.orig/fs/xfs/linux-2.6/xfs_export.c 2009-01-01 18:34:39.868671500 +0100
+++ btrfs-unstable/fs/xfs/linux-2.6/xfs_export.c 2009-01-01 18:35:37.224782654 +0100
@@ -127,8 +127,8 @@ xfs_nfs_get_inode(
if (ino == 0)
return ERR_PTR(-ESTALE);
- error = xfs_iget(mp, NULL, ino, 0, XFS_ILOCK_SHARED, &ip, 0);
+ error = xfs_iget(mp, NULL, ino, XFS_IGET_BULKSTAT, XFS_ILOCK_SHARED, &ip, 0);
return ERR_PTR(-error);
if (!ip)
return ERR_PTR(-EIO);
More information about the xfs
mailing list