-
- Downloads
filelock: move file locking definitions to separate header file
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 <xiubli@redhat.com> Reviewed-by:
Christian Brauner (Microsoft) <brauner@kernel.org> Reviewed-by:
Christoph Hellwig <hch@lst.de> Reviewed-by:
David Howells <dhowells@redhat.com> Reviewed-by:
Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Acked-by:
Chuck Lever <chuck.lever@oracle.com> Acked-by:
Joseph Qi <joseph.qi@linux.alibaba.com> Acked-by:
Steve French <stfrench@microsoft.com> Acked-by:
Al Viro <viro@zeniv.linux.org.uk> Acked-by:
Darrick J. Wong <djwong@kernel.org> Signed-off-by:
Jeff Layton <jlayton@kernel.org>
Showing
- arch/arm/kernel/sys_oabi-compat.c 1 addition, 0 deletionsarch/arm/kernel/sys_oabi-compat.c
- fs/9p/vfs_file.c 1 addition, 0 deletionsfs/9p/vfs_file.c
- fs/afs/internal.h 1 addition, 0 deletionsfs/afs/internal.h
- fs/attr.c 1 addition, 0 deletionsfs/attr.c
- fs/ceph/caps.c 1 addition, 0 deletionsfs/ceph/caps.c
- fs/ceph/locks.c 1 addition, 0 deletionsfs/ceph/locks.c
- fs/cifs/cifsfs.c 1 addition, 0 deletionsfs/cifs/cifsfs.c
- fs/cifs/cifsglob.h 1 addition, 0 deletionsfs/cifs/cifsglob.h
- fs/cifs/cifssmb.c 1 addition, 0 deletionsfs/cifs/cifssmb.c
- fs/cifs/file.c 1 addition, 0 deletionsfs/cifs/file.c
- fs/cifs/smb2file.c 1 addition, 0 deletionsfs/cifs/smb2file.c
- fs/dlm/plock.c 1 addition, 0 deletionsfs/dlm/plock.c
- fs/fcntl.c 1 addition, 0 deletionsfs/fcntl.c
- fs/file_table.c 1 addition, 0 deletionsfs/file_table.c
- fs/fuse/file.c 1 addition, 0 deletionsfs/fuse/file.c
- fs/gfs2/file.c 1 addition, 0 deletionsfs/gfs2/file.c
- fs/inode.c 1 addition, 0 deletionsfs/inode.c
- fs/ksmbd/smb2pdu.c 1 addition, 0 deletionsfs/ksmbd/smb2pdu.c
- fs/ksmbd/vfs.c 1 addition, 0 deletionsfs/ksmbd/vfs.c
- fs/ksmbd/vfs_cache.c 1 addition, 0 deletionsfs/ksmbd/vfs_cache.c
Loading
Please register or sign in to comment