aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2022-05-02 15:14:10 +0000
committerDavid Teigland <[email protected]>2022-05-02 16:23:49 +0000
commit8e51ec6146fdec82f7308f89113497631013f16a (patch)
treeb2ca657b32bb99488d760c16832ca5c9f909550a /fs/jbd2/commit.c
parentdlm: use kref_put_lock in put_rsb (diff)
downloadkernel-8e51ec6146fdec82f7308f89113497631013f16a.tar.gz
kernel-8e51ec6146fdec82f7308f89113497631013f16a.zip
dlm: use kref_put_lock in __put_lkb
This patch will optimize __put_lkb() by using kref_put_lock(). The function kref_put_lock() will only take the lock if the reference is going to be zero, if not the lock will never be held. Signed-off-by: Alexander Aring <[email protected]> Signed-off-by: David Teigland <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions