xfs: make imaxpct changes in growfs separate
authorDave Chinner <dchinner@redhat.com>
Mon, 14 May 2018 06:10:07 +0000 (23:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 16 May 2018 01:12:51 +0000 (18:12 -0700)
commit87444b8c267a5c607931eb5b5e65611f4972672b
tree15284674c5e4ebdb09c48668acf005f32efbcd74
parent532ff647d8303049e3913bf21e467b3bcc7f0bce
xfs: make imaxpct changes in growfs separate

When growfs changes the imaxpct value of the filesystem, it runs
through all the "change size" growfs code, whether it needs to or
not. Separate out changing imaxpct into it's own function and
transaction to simplify the rest of the growfs code.

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