Skip to content

Commit

Permalink
[XFS] getattr can return an error code, so propogate any from lower
Browse files Browse the repository at this point in the history
layers.

SGI-PV: 904196
SGI-Modid: xfs-linux-melb:xfs-kern:26095a

Signed-off-by: Nathan Scott <nathans@sgi.com>
  • Loading branch information
Nathan Scott committed Jun 9, 2006
1 parent 3d80ede commit b76963f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/xfs/linux-2.6/xfs_iops.c
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ xfs_vn_getattr(
error = vn_revalidate(vp);
if (!error)
generic_fillattr(inode, stat);
return 0;
return -error;
}

STATIC int
Expand Down

0 comments on commit b76963f

Please sign in to comment.