提交 b76963fa 编写于 作者: N 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: NNathan Scott <nathans@sgi.com>
上级 3d80ede4
...@@ -643,7 +643,7 @@ xfs_vn_getattr( ...@@ -643,7 +643,7 @@ xfs_vn_getattr(
error = vn_revalidate(vp); error = vn_revalidate(vp);
if (!error) if (!error)
generic_fillattr(inode, stat); generic_fillattr(inode, stat);
return 0; return -error;
} }
STATIC int STATIC int
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册