xfs: add xfs_remount_rw() helper
authorIan Kent <raven@themaw.net>
Mon, 4 Nov 2019 21:58:42 +0000 (13:58 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Tue, 5 Nov 2019 16:28:25 +0000 (08:28 -0800)
commit82332b6da226bef4c29431d98075af34feafaa8a
tree43490e335866fcbb882c4ecd5eb680245845d47c
parenta943f372c22bd4923c4897ff4e7d3f03db0d6716
xfs: add xfs_remount_rw() helper

Factor the remount read write 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