diff options
author | Nayeemahmed Badebade <itachi.opsrc@gmail.com> | 2016-09-19 02:48:19 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 13:23:40 +0200 |
commit | a2921e2fc026718a6b2694c0f61cb0d58f7f4c77 (patch) | |
tree | 67b6a8d73fe0d4855298322da7d049255c3262fd /lib/xz | |
parent | 024931694730a2ad31bc1e7c58a028abe441180b (diff) | |
download | linux-a2921e2fc026718a6b2694c0f61cb0d58f7f4c77.tar.bz2 |
staging: lustre: lustre/ldlm: Fixed sparse warnings
Added __acquires / __releases sparse locking annotations
to lock_res_and_lock() and unlock_res_and_lock() functions
in l_lock.c, to fix below sparse warnings:
l_lock.c:47:22: warning: context imbalance in 'lock_res_and_lock' - wrong count at exit
l_lock.c:61:6: warning: context imbalance in 'unlock_res_and_lock' - unexpected unlock
Signed-off-by: Nayeemahmed Badebade <itachi.opsrc@gmail.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/xz')
0 files changed, 0 insertions, 0 deletions