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)
commitf33321141b273d60cbb3a8f56a5489baad82ba5e
treeb6443b674600dcdb8c33aa6d44b7a673edc255b4
parentb25e82e5673c750116e8b01a4fc7d09be7809f8c
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