summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_log_recover.c
diff options
context:
space:
mode:
authorEric Sandeen2019-06-12 17:59:58 +0200
committerDarrick J. Wong2019-06-12 17:59:58 +0200
commit8c9ce2f707a1571782b4d3d100af627b6d147357 (patch)
treec33fe7af5bcefb6e2802ac9a10a0dffcf493e271 /fs/xfs/xfs_log_recover.c
parentxfs: include WARN, REPAIR build options in XFS_BUILD_OPTIONS (diff)
downloadkernel-qcow2-linux-8c9ce2f707a1571782b4d3d100af627b6d147357.tar.gz
kernel-qcow2-linux-8c9ce2f707a1571782b4d3d100af627b6d147357.tar.xz
kernel-qcow2-linux-8c9ce2f707a1571782b4d3d100af627b6d147357.zip
xfs: remove unused flags arg from getsb interfaces
The flags value is always passed as 0 so remove the argument. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_log_recover.c')
-rw-r--r--fs/xfs/xfs_log_recover.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/xfs_log_recover.c b/fs/xfs/xfs_log_recover.c
index f7c062df29bf..6f30a2fd6f63 100644
--- a/fs/xfs/xfs_log_recover.c
+++ b/fs/xfs/xfs_log_recover.c
@@ -5687,7 +5687,7 @@ xlog_do_recover(
* Now that we've finished replaying all buffer and inode
* updates, re-read in the superblock and reverify it.
*/
- bp = xfs_getsb(mp, 0);
+ bp = xfs_getsb(mp);
bp->b_flags &= ~(XBF_DONE | XBF_ASYNC);
ASSERT(!(bp->b_flags & XBF_WRITE));
bp->b_flags |= XBF_READ;