diff options
author | Christian Brauner <brauner@kernel.org> | 2023-11-27 14:51:30 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-11-28 21:15:34 +0300 |
commit | b30850c58b5b9b7008eb6fc4a65bfb003a0714a7 (patch) | |
tree | 6306ac327f35d6baef5e19f6310b45f08778f052 /net | |
parent | afde134b5bd02a5c719336ca1d0d3cb7e4def70e (diff) | |
download | linux-b30850c58b5b9b7008eb6fc4a65bfb003a0714a7.tar.xz |
super: massage wait event mechanism
We're currently using two separate helpers wait_born() and wait_dead()
when we can just all do it in a single helper super_load_flags(). We're
also acquiring the lock before we check whether this superblock is even
a viable candidate. If it's already dying we don't even need to bother
with the lock.
Link: https://lore.kernel.org/r/20231127-vfs-super-massage-wait-v1-1-9ab277bfd01a@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions