WSL2-Linux-Kernel/fs
Jeff Layton 5970e15dbc 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>
2023-01-11 06:52:32 -05:00
..
9p filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
adfs
affs
afs filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
autofs
befs
bfs
btrfs for-6.2-rc2-tag 2023-01-06 12:01:49 -08:00
cachefiles
ceph filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
cifs filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
coda
configfs
cramfs
crypto for-6.2/block-2022-12-08 2022-12-13 10:43:59 -08:00
debugfs
devpts
dlm filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
ecryptfs
efivarfs
efs
erofs
exfat Description for this pull request: 2022-12-15 18:14:21 -08:00
exportfs
ext2
ext4 treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
f2fs f2fs: let's avoid panic if extent_tree is not created 2023-01-03 08:59:06 -08:00
fat MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
freevxfs
fscache
fuse filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
gfs2 filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
hfs hfs/hfsplus: avoid WARN_ON() for sanity check, use proper error handling 2023-01-06 14:09:13 -08:00
hfsplus MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
hostfs
hpfs
hugetlbfs
iomap New XFS code for 6.2: 2022-12-14 10:11:51 -08:00
isofs
jbd2
jffs2
jfs MM patches for 6.2-rc1. 2022-12-13 19:29:45 -08:00
kernfs
ksmbd filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
lockd filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
minix
netfs
nfs filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
nfs_common filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
nfsd filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
nilfs2 treewide: Convert del_timer*() to timer_shutdown*() 2022-12-25 13:38:09 -08:00
nls
notify
ntfs
ntfs3 fs/ntfs3: don't hold ni_lock when calling truncate_setsize() 2023-01-02 10:31:09 -08:00
ocfs2 filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
omfs
openpromfs
orangefs filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
overlayfs
proc filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
pstore pstore updates for v6.2-rc1-fixes 2022-12-23 11:55:54 -08:00
qnx4
qnx6
quota
ramfs
reiserfs lsm/stable-6.2 PR 20221212 2022-12-13 09:47:48 -08:00
romfs
smbfs_common
squashfs
sysfs
sysv
tracefs
ubifs
udf udf: initialize newblock to 0 2023-01-06 15:44:32 +01:00
ufs
unicode
vboxsf
verity
xfs filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
zonefs
Kconfig
Kconfig.binfmt
Makefile
aio.c
anon_inodes.c
attr.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
bad_inode.c
binfmt_elf.c
binfmt_elf_fdpic.c
binfmt_elf_test.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
buffer.c
char_dev.c
compat_binfmt_elf.c
coredump.c hardening updates for v6.2-rc1 2022-12-14 12:20:00 -08:00
d_path.c
dax.c
dcache.c
direct-io.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c
fcntl.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
fhandle.c
file.c
file_table.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
filesystems.c
fs-writeback.c for-6.2/writeback-2022-12-12 2022-12-15 18:09:48 -08:00
fs_context.c
fs_parser.c
fs_pin.c
fs_struct.c
fs_types.c
fsopen.c
init.c
inode.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
internal.h
ioctl.c
kernel_read_file.c
libfs.c
locks.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
mbcache.c
mount.h
mpage.c
namei.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
namespace.c
no-block.c
nsfs.c
open.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
pipe.c
pnode.c pnode: terminate at peers of source 2022-12-21 14:45:25 +01:00
pnode.h
posix_acl.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
proc_namespace.c
read_write.c
readdir.c
remap_range.c New VFS code for 6.2: 2022-12-13 10:26:38 -08:00
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
statfs.c
super.c
sync.c
sysctls.c
timerfd.c
userfaultfd.c
utimes.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00
xattr.c filelock: move file locking definitions to separate header file 2023-01-11 06:52:32 -05:00