]> git.baikalelectronics.ru Git - kernel.git/commit
fuse: add support for mandatory locking
authorMiklos Szeredi <mszeredi@suse.cz>
Thu, 18 Oct 2007 10:07:04 +0000 (03:07 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 18 Oct 2007 21:37:31 +0000 (14:37 -0700)
commitdaf6f55122a68e7e97bbbf14c658a3cd84698da3
treeb6443b674600dcdb8c33aa6d44b7a673edc255b4
parent89ca34e519017681e0040ee810943c9a2deac0b1
fuse: add support for mandatory locking

For mandatory locking the userspace filesystem needs to know the lock
ownership for read, write and truncate operations.

This patch adds the necessary fields to the protocol.

Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/fuse/dir.c
fs/fuse/file.c
fs/fuse/fuse_i.h
include/linux/fuse.h