[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:
parent
3d80ede479
commit
b76963fac4
|
@ -643,7 +643,7 @@ xfs_vn_getattr(
|
|||
error = vn_revalidate(vp);
|
||||
if (!error)
|
||||
generic_fillattr(inode, stat);
|
||||
return 0;
|
||||
return -error;
|
||||
}
|
||||
|
||||
STATIC int
|
||||
|
|
Loading…
Reference in New Issue