android_kernel_xiaomi_sm8350/fs/coda
Miklos Szeredi 75e1fcc0b1 [PATCH] vfs: add lock owner argument to flush operation
Pass the POSIX lock owner ID to the flush operation.

This is useful for filesystems which don't want to store any locking state
in inode->i_flock but want to handle locking/unlocking POSIX locks
internally.  FUSE is one such filesystem but I think it possible that some
network filesystems would need this also.

Also add a flag to indicate that a POSIX locking request was generated by
close(), so filesystems using the above feature won't send an extra locking
request in this case.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-23 07:43:02 -07:00
..
cache.c BUG_ON() Conversion in fs/coda/ 2006-03-24 18:42:13 +01:00
cnode.c BUG_ON() Conversion in fs/coda/ 2006-03-24 18:42:13 +01:00
coda_int.h [PATCH] fs/coda/: proper prototypes 2006-03-24 07:33:21 -08:00
coda_linux.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dir.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
file.c [PATCH] vfs: add lock owner argument to flush operation 2006-06-23 07:43:02 -07:00
inode.c [PATCH] VFS: Permit filesystem to perform statfs with a known root dentry 2006-06-23 07:42:45 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pioctl.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
psdev.c [PATCH] Make most file operations structs in fs/ const 2006-03-28 09:16:06 -08:00
symlink.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sysctl.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
upcall.c [PATCH] VFS: Permit filesystem to perform statfs with a known root dentry 2006-06-23 07:42:45 -07:00