]> asedeno.scripts.mit.edu Git - linux.git/commit
xfs: add xfs_remount_ro() helper
authorIan Kent <raven@themaw.net>
Mon, 4 Nov 2019 21:58:43 +0000 (13:58 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 5 Nov 2019 16:28:26 +0000 (08:28 -0800)
commit2c6eba31775ba1b4b067b95ccf51a6094715a446
tree940056eb4256b65fd310a843827b35bd7e31564b
parent82332b6da226bef4c29431d98075af34feafaa8a
xfs: add xfs_remount_ro() helper

Factor the remount read only code into a helper to simplify the
subsequent change from the super block method .remount_fs to the
mount-api fs_context_operations method .reconfigure.

Signed-off-by: Ian Kent <raven@themaw.net>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_super.c