xfs_io: fix bmap command not detecting realtime files with xattrs
PATCH 1/1 xfs_io: fix bmap command not detecting realtime files with xattrs
From: Darrick J. Wong <[email protected]>
Fix the bmap command so that it will detect a realtime file if any of the other file flags (e.g. xattrs) are set. Observed via xfs/556.
Signed-off-by Darrick J. Wong <[email protected]>
--- io/bmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
io/bmap.c +1 -1
@@ -118,7 +118,7 @@ bmap_f(return 0 ; } -if (fsx.fsx_xflags ==FS_XFLAG_REALTIME ) { +if (fsx.fsx_xflags &FS_XFLAG_REALTIME ) {/* * ag info not applicable to rt, continue * without ag output.
Looks good:
Reviewed-by Christoph Hellwig <[email protected]>
Quoted 6 lines · Darrick J. Wong
From: Darrick J. Wong <[email protected]>
Fix the bmap command so that it will detect a realtime file if any of the other file flags (e.g. xattrs) are set. Observed via xfs/556.
Signed-off-by Darrick J. Wong <[email protected]>
Looks good to me.
Reviewed-by Carlos Maiolino <[email protected]>
Quoted 17 lines
--- io/bmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)io/bmap.c +1
-1@@ -118,7 +118,7 @@ bmap_f(return 0 ; } -if (fsx.fsx_xflags ==FS_XFLAG_REALTIME ) { +if (fsx.fsx_xflags &FS_XFLAG_REALTIME ) {/* * ag info not applicable to rt, continue * without ag output.
Signature · 1 line
Carlos Maiolino