summaryrefslogtreecommitdiff
path: root/fs/xfs
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2023-08-22 14:32:50 +0300
committerChristian Brauner <brauner@kernel.org>2023-08-22 14:32:50 +0300
commit051178c366bbc1bf8b4aba5ca5519d7da453c95f (patch)
treeaa1102f335fff30f7d3930c08418c3fdcd10f553 /fs/xfs
parent2c18a63b760a0f68f14cb8bb4c3840bb0b63b73e (diff)
downloadlinux-051178c366bbc1bf8b4aba5ca5519d7da453c95f.tar.xz
super: use higher-level helper for {freeze,thaw}
It's not necessary to use low-level locking helpers here. Use the higher-level locking helpers and log if the superblock is dying. Since the caller is assumed to already hold an active reference it isn't possible to observe a dying superblock. Suggested-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/xfs')
0 files changed, 0 insertions, 0 deletions