]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita18efe601c7441d65fbdf15d2a9a0e5d407ac2c8
tree15284674c5e4ebdb09c48668acf005f32efbcd74
parentdd46adef2f32c8b8c656f783e0f87541825b5155
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