From 63b8c1c99797322bb873803b0296ac302d5de4d2 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Thu, 3 Jun 2004 14:45:04 +0000 Subject: cache ENOSYS on some optional functions --- kernel/fuse_i.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'kernel/fuse_i.h') diff --git a/kernel/fuse_i.h b/kernel/fuse_i.h index 1299139..d5943a9 100644 --- a/kernel/fuse_i.h +++ b/kernel/fuse_i.h @@ -96,6 +96,24 @@ struct fuse_conn { /** The next unique request id */ int reqctr; + + /** Is fsync not implemented by fs? */ + unsigned int no_fsync : 1; + + /** Is flush not implemented by fs? */ + unsigned int no_flush : 1; + + /** Is setxattr not implemented by fs? */ + unsigned int no_setxattr : 1; + + /** Is getxattr not implemented by fs? */ + unsigned int no_getxattr : 1; + + /** Is listxattr not implemented by fs? */ + unsigned int no_listxattr : 1; + + /** Is removexattr not implemented by fs? */ + unsigned int no_removexattr : 1; }; /** One input argument of a request */ -- cgit v1.2.3