aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorJohannes Thumshirn <[email protected]>2020-07-23 00:18:04 +0900
committerDavid Sterba <[email protected]>2020-07-27 12:55:47 +0200
commit88c4703f00a9e8ab60133690cfdaccea6c07e560 (patch)
treebeb88df3aac44a52137d25c5bd8332bd668f278f /scripts/gdb/linux/modules.py
parent162e0a16b7d93629c8325ea32d99b38d17bc03eb (diff)
btrfs: open-code remount flag setting in btrfs_remount
When we're (re)mounting a btrfs filesystem we set the BTRFS_FS_STATE_REMOUNTING state in fs_info to serialize against async reclaim or defrags. This flag is set in btrfs_remount_prepare() called by btrfs_remount(). As btrfs_remount_prepare() does nothing but setting this flag and doesn't have a second caller, we can just open-code the flag setting in btrfs_remount(). Similarly do for so clearing of the flag by moving it out of btrfs_remount_cleanup() into btrfs_remount() to be symmetrical. Signed-off-by: Johannes Thumshirn <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions