summaryrefslogtreecommitdiff
path: root/fs/iomap
diff options
context:
space:
mode:
authorJeff Layton <jlayton@kernel.org>2024-02-12 15:24:05 +0300
committerChristian Brauner <brauner@kernel.org>2024-02-12 16:08:18 +0300
commit582a3bf999df662c0e0fa4717ce7559f16d7b93b (patch)
tree2637285806c9b68d475b86a9a4aa3e50c524bae6 /fs/iomap
parent292fcaa1f937345cb65f3af82a1ee6692c8df9eb (diff)
downloadlinux-582a3bf999df662c0e0fa4717ce7559f16d7b93b.tar.xz
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 <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202402062210.3YyBVGF1-lkp@intel.com/ Fixes: 75cabec0111b ("filelock: add some new helper functions") Signed-off-by: Jeff Layton <jlayton@kernel.org> Link: https://lore.kernel.org/r/20240212-flsplit3-v1-1-019f0ad6bf69@kernel.org Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/iomap')
0 files changed, 0 insertions, 0 deletions