summaryrefslogtreecommitdiffstats
path: root/kernel/stacktrace.c
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2021-01-21 14:19:51 +0100
committerChristian Brauner <christian.brauner@ubuntu.com>2021-01-24 14:29:34 +0100
commitfbdc2f6c40f6528fa0db79c73e844451234f3e26 (patch)
treea3b3519ed8fb7bf257e2e1a7abd74483189e5471 /kernel/stacktrace.c
parentnamespace: only take read lock in do_reconfigure_mnt() (diff)
downloadlinux-fbdc2f6c40f6528fa0db79c73e844451234f3e26.tar.xz
linux-fbdc2f6c40f6528fa0db79c73e844451234f3e26.zip
fs: split out functions to hold writers
When a mount is marked read-only we set MNT_WRITE_HOLD on it if there aren't currently any active writers. Split this logic out into simple helpers that we can use in follow-up patches. Link: https://lore.kernel.org/r/20210121131959.646623-33-christian.brauner@ubuntu.com Cc: David Howells <dhowells@redhat.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: linux-fsdevel@vger.kernel.org Suggested-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'kernel/stacktrace.c')
0 files changed, 0 insertions, 0 deletions