On 06/01/2023 05:19, Jeff Layton wrote:
The file locking definitions have lived in fs.h since the dawn of time,
but they are only used by a small subset of the source files that
include it.

Move the file locking definitions to a new header file, and add the
appropriate #include directives to the source files that need them. By
doing this we trim down fs.h a bit and limit the amount of rebuilding
that has to be done when we make changes to the file locking APIs.

Reviewed-by: Xiubo Li <xiu...@redhat.com>
Reviewed-by: Christian Brauner (Microsoft) <brau...@kernel.org>
Reviewed-by: Christoph Hellwig <h...@lst.de>
Reviewed-by: David Howells <dhowe...@redhat.com>
Acked-by: Chuck Lever <chuck.le...@oracle.com>
Acked-by: Joseph Qi <joseph...@linux.alibaba.com>
Acked-by: Steve French <stfre...@microsoft.com>
Signed-off-by: Jeff Layton <jlay...@kernel.org>
---
  arch/arm/kernel/sys_oabi-compat.c |   1 +
  fs/9p/vfs_file.c                  |   1 +
  fs/afs/internal.h                 |   1 +
  fs/attr.c                         |   1 +
  fs/ceph/locks.c                   |   1 +

ceph part looks good to me.

Thanks

- Xiubo


Reply via email to