[PATCH] FUSE: add fsync operation for directories

This patch adds a new FSYNCDIR request, which is sent when fsync is called
on directories.  This operation is available in libfuse 2.3-pre1 or
greater.

Signed-off-by: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Miklos Szeredi
2005-09-09 13:10:38 -07:00
committed by Linus Torvalds
parent b36c31ba95
commit 8254798199
4 changed files with 31 additions and 5 deletions

View File

@@ -99,7 +99,8 @@ enum fuse_opcode {
FUSE_INIT = 26,
FUSE_OPENDIR = 27,
FUSE_READDIR = 28,
FUSE_RELEASEDIR = 29
FUSE_RELEASEDIR = 29,
FUSE_FSYNCDIR = 30
};
/* Conservative buffer size for the client */