diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-12-06 23:35:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:32 -0500 |
commit | 0ec7ca41f6f0f74a394a7d686bc0ee8afef84887 (patch) | |
tree | bb4aac390be07d04b484fddc325598f05b498db0 /include | |
parent | b2d2272fae1e1df26ec8f93a6d5baea891dcce37 (diff) |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fuse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fuse.h b/include/linux/fuse.h index 162a754f4db7..534744efe30d 100644 --- a/include/linux/fuse.h +++ b/include/linux/fuse.h | |||
@@ -133,6 +133,7 @@ enum fuse_opcode { | |||
133 | FUSE_CREATE = 35, | 133 | FUSE_CREATE = 35, |
134 | FUSE_INTERRUPT = 36, | 134 | FUSE_INTERRUPT = 36, |
135 | FUSE_BMAP = 37, | 135 | FUSE_BMAP = 37, |
136 | FUSE_DESTROY = 38, | ||
136 | }; | 137 | }; |
137 | 138 | ||
138 | /* The read buffer is required to be at least 8k, but may be much larger */ | 139 | /* The read buffer is required to be at least 8k, but may be much larger */ |