aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAlexander Aring <[email protected]>2022-05-02 15:14:09 +0000
committerDavid Teigland <[email protected]>2022-05-02 16:22:56 +0000
commit9502a7f688fe7bff297b4e1b64622e0da9b27d78 (patch)
tree915e72a717f326c3d008cdfdf4379e2385204ec1 /fs/jbd2/commit.c
parentdlm: remove unnecessary error assign (diff)
downloadkernel-9502a7f688fe7bff297b4e1b64622e0da9b27d78.tar.gz
kernel-9502a7f688fe7bff297b4e1b64622e0da9b27d78.zip
dlm: use kref_put_lock in put_rsb
This patch will optimize put_rsb() 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