]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: always grab transaction when scrubbing inode
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:49:03 +0000 (10:49 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Mon, 8 Jan 2018 18:49:03 +0000 (10:49 -0800)
commit1ad1205e716fa2a88ca960601cc807cd38853c01
tree06245a3f3dc34bb96ff175fd0709d545484e1631
parent2b9e9b5771fdcff3d307faaade23bd4e965374da
xfs: always grab transaction when scrubbing inode

Always allocate a transaction for inode scrubbing, even if the _iget
fails.  This is something that is nice to have now for consistency with
the other scrubbers but will become critical when we get to online
repair where we'll actually use the transaction + raw buffer read to fix
the verifier errors.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/inode.c