diff options
author | Christian Brauner <[email protected]> | 2021-01-21 14:19:51 +0100 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2021-01-24 14:29:34 +0100 |
commit | fbdc2f6c40f6528fa0db79c73e844451234f3e26 (patch) | |
tree | a3b3519ed8fb7bf257e2e1a7abd74483189e5471 /drivers/usb/cdns3/cdns3-trace.c | |
parent | e58ace1a0fa9d578f85f556b4b88c5fe9b871d08 (diff) |
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/[email protected]
Cc: David Howells <[email protected]>
Cc: Al Viro <[email protected]>
Cc: [email protected]
Suggested-by: Christoph Hellwig <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions