From f448ac69d1791f4b5c1ce2771624e261cb1797b4 Mon Sep 17 00:00:00 2001 From: Feng Shuo Date: Fri, 4 Jan 2013 16:23:31 +0800 Subject: libfuse: add readdirplus support in fuse_lowlevel_ops This patch implements readdirplus support in FUSE usersapce. It adds a new fuse lowlevel operations fuse_lowleve_ops::readdir_plus, corespoding mount options and helper functions to maintain buffer. [From: Eric Wong ] This makes our terminology consistent with NFS and our kernel module, as well as reducing user/developer confusion in the command-line. Note: I'm keeping "fuse_add_direntry_plus" since that is less standardized in its use than "readdirplus" for now. Signed-off-by: Feng Shuo --- include/fuse_common.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/fuse_common.h') diff --git a/include/fuse_common.h b/include/fuse_common.h index 58458ab..c8a2409 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -112,6 +112,7 @@ struct fuse_file_info { #define FUSE_CAP_FLOCK_LOCKS (1 << 10) #define FUSE_CAP_IOCTL_DIR (1 << 11) #define FUSE_CAP_AUTO_INVAL_DATA (1 << 12) +#define FUSE_CAP_READDIRPLUS (1 << 13) /** * Ioctl flags -- cgit v1.2.3