mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
[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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue