[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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user