summaryrefslogtreecommitdiffstats
path: root/fs/xfs
diff options
context:
space:
mode:
authorNathan Scott <nathans@sgi.com>2006-06-09 14:58:20 +1000
committerNathan Scott <nathans@sgi.com>2006-06-09 14:58:20 +1000
commitb76963fac4a17b661bad46e5a57b0f918c6f0cd1 (patch)
treed2dc3d6fcc166878f978f7ed531f790b14c02e06 /fs/xfs
parent3d80ede4799889ede2aa785c2511aef3e78d5bb1 (diff)
downloadop-kernel-dev-b76963fac4a17b661bad46e5a57b0f918c6f0cd1.zip
op-kernel-dev-b76963fac4a17b661bad46e5a57b0f918c6f0cd1.tar.gz
[XFS] getattr can return an error code, so propogate any from lower
layers. SGI-PV: 904196 SGI-Modid: xfs-linux-melb:xfs-kern:26095a Signed-off-by: Nathan Scott <nathans@sgi.com>
Diffstat (limited to 'fs/xfs')
-rw-r--r--fs/xfs/linux-2.6/xfs_iops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/linux-2.6/xfs_iops.c b/fs/xfs/linux-2.6/xfs_iops.c
index 2e2e275..0da1d6b 100644
--- a/fs/xfs/linux-2.6/xfs_iops.c
+++ b/fs/xfs/linux-2.6/xfs_iops.c
@@ -643,7 +643,7 @@ xfs_vn_getattr(
error = vn_revalidate(vp);
if (!error)
generic_fillattr(inode, stat);
- return 0;
+ return -error;
}
STATIC int
OpenPOWER on IntegriCloud