aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2023-11-27 11:51:30 +0000
committerChristian Brauner <[email protected]>2023-11-28 18:15:34 +0000
commitb30850c58b5b9b7008eb6fc4a65bfb003a0714a7 (patch)
tree6306ac327f35d6baef5e19f6310b45f08778f052 /net/unix/sysctl_net_unix.c
parentext4: Block writes to journal device (diff)
downloadkernel-b30850c58b5b9b7008eb6fc4a65bfb003a0714a7.tar.gz
kernel-b30850c58b5b9b7008eb6fc4a65bfb003a0714a7.zip
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/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions