diff options
author | Jeff Layton <[email protected]> | 2024-02-12 07:24:05 -0500 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-02-12 14:08:18 +0100 |
commit | 582a3bf999df662c0e0fa4717ce7559f16d7b93b (patch) | |
tree | 2637285806c9b68d475b86a9a4aa3e50c524bae6 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 292fcaa1f937345cb65f3af82a1ee6692c8df9eb (diff) |
filelock: always define for_each_file_lock()
...and eliminate the stub version when CONFIG_FILE_LOCKING is disabled.
This silences the following warning that crept in recently:
fs/ceph/locks.c: In function 'ceph_count_locks':
fs/ceph/locks.c:380:27: error: unused variable 'lock' [-Werror=unused-variable]
380 | struct file_lock *lock;
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Fixes: 75cabec0111b ("filelock: add some new helper functions")
Signed-off-by: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions