[PATCH] fuse: add DESTROY operation
authorMiklos Szeredi <miklos@szeredi.hu>
Thu, 7 Dec 2006 04:35:52 +0000 (20:35 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:32 +0000 (08:39 -0800)
commit0ec7ca41f6f0f74a394a7d686bc0ee8afef84887
treebb4aac390be07d04b484fddc325598f05b498db0
parentb2d2272fae1e1df26ec8f93a6d5baea891dcce37
[PATCH] fuse: add DESTROY operation

Add a DESTROY operation for block device based filesystems.  With the help of
this operation, such a filesystem can flush dirty data to the device
synchronously before the umount returns.

This is needed in situations where the filesystem is assumed to be clean
immediately after unmount (e.g.  ejecting removable media).

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/fuse/fuse_i.h
fs/fuse/inode.c
include/linux/fuse.h