Commit b76963fa authored by Nathan Scott's avatar Nathan Scott

[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: default avatarNathan Scott <nathans@sgi.com>
parent 3d80ede4
......@@ -643,7 +643,7 @@ xfs_vn_getattr(
error = vn_revalidate(vp);
if (!error)
generic_fillattr(inode, stat);
return 0;
return -error;
}
STATIC int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment