[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>
This commit is contained in:
Nathan Scott 2006-06-09 14:58:20 +10:00
parent 3d80ede479
commit b76963fac4
1 changed files with 1 additions and 1 deletions

View File

@ -643,7 +643,7 @@ xfs_vn_getattr(
error = vn_revalidate(vp);
if (!error)
generic_fillattr(inode, stat);
return 0;
return -error;
}
STATIC int