From 3091dd06ee5240c9332432e644e9637c77fea700 Mon Sep 17 00:00:00 2001 From: Jan Blumschein Date: Wed, 9 Mar 2016 19:35:32 +0100 Subject: fuse.h doc fix: The f_frsize field is not ignored by the statfs operation. Apparently f_frsize has been passed on transparently since 2b4781100812d42e704c39c51303cd28ad3f9aa6 (Nov 28, 2005). --- include/fuse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index e16104c..05dd240 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -222,7 +222,7 @@ struct fuse_operations { /** Get file system statistics * - * The 'f_frsize', 'f_favail', 'f_fsid' and 'f_flag' fields are ignored + * The 'f_favail', 'f_fsid' and 'f_flag' fields are ignored * * Replaced 'struct statfs' parameter with 'struct statvfs' in * version 2.5 -- cgit v1.2.3 From 0972e8b78e9eca54a997bb58e08c9270e15df1a9 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 2 Apr 2016 17:38:47 +0100 Subject: Fix spelling mistake --- include/fuse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index 05dd240..70f2f81 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -705,7 +705,7 @@ void fuse_exit(struct fuse *f); * If you are using multiple threads, you can enjoy all the parallel execution * and interactive response benefits of threads, and you get to enjoy all the * benefits of race conditions and locking bugs, too. Ensure that any code used - * in the callback funtion of fuse_operations is also thread-safe. + * in the callback function of fuse_operations is also thread-safe. * * @param f the FUSE handle * @return 0 if no error occurred, -1 otherwise -- cgit v1.2.3 From 482a49c25682bdc537f1a28ca18926ee278658f3 Mon Sep 17 00:00:00 2001 From: Sam Stuewe Date: Sat, 23 Apr 2016 11:54:18 -0500 Subject: Remove leading _ on header guards to comply with reserved identifier requirements (#29) Remove leading _ on header guards to comply with reserved identifier requirements --- include/cuse_lowlevel.h | 6 +++--- include/fuse.h | 6 +++--- include/fuse_common.h | 6 +++--- include/fuse_lowlevel.h | 6 +++--- include/fuse_opt.h | 6 +++--- 5 files changed, 15 insertions(+), 15 deletions(-) (limited to 'include/fuse.h') diff --git a/include/cuse_lowlevel.h b/include/cuse_lowlevel.h index e147fa2..80476c2 100644 --- a/include/cuse_lowlevel.h +++ b/include/cuse_lowlevel.h @@ -9,8 +9,8 @@ Read example/cusexmp.c for usages. */ -#ifndef _CUSE_LOWLEVEL_H_ -#define _CUSE_LOWLEVEL_H_ +#ifndef CUSE_LOWLEVEL_H_ +#define CUSE_LOWLEVEL_H_ #ifndef FUSE_USE_VERSION #define FUSE_USE_VERSION 29 @@ -84,4 +84,4 @@ int cuse_lowlevel_main(int argc, char *argv[], const struct cuse_info *ci, } #endif -#endif /* _CUSE_LOWLEVEL_H_ */ +#endif /* CUSE_LOWLEVEL_H_ */ diff --git a/include/fuse.h b/include/fuse.h index 70f2f81..7f5daa8 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -6,8 +6,8 @@ See the file COPYING.LIB. */ -#ifndef _FUSE_H_ -#define _FUSE_H_ +#ifndef FUSE_H_ +#define FUSE_H_ /** @file * @@ -936,4 +936,4 @@ struct fuse_session *fuse_get_session(struct fuse *f); } #endif -#endif /* _FUSE_H_ */ +#endif /* FUSE_H_ */ diff --git a/include/fuse_common.h b/include/fuse_common.h index beb44c7..d200d34 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -11,8 +11,8 @@ #error "Never include directly; use or instead." #endif -#ifndef _FUSE_COMMON_H_ -#define _FUSE_COMMON_H_ +#ifndef FUSE_COMMON_H_ +#define FUSE_COMMON_H_ #include "fuse_opt.h" #include @@ -523,4 +523,4 @@ struct _fuse_off_t_must_be_64bit_dummy_struct \ { unsigned _fuse_off_t_must_be_64bit:((sizeof(off_t) == 8) ? 1 : -1); }; #endif -#endif /* _FUSE_COMMON_H_ */ +#endif /* FUSE_COMMON_H_ */ diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index 32908cb..89d10a7 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -6,8 +6,8 @@ See the file COPYING.LIB. */ -#ifndef _FUSE_LOWLEVEL_H_ -#define _FUSE_LOWLEVEL_H_ +#ifndef FUSE_LOWLEVEL_H_ +#define FUSE_LOWLEVEL_H_ /** @file * @@ -1728,4 +1728,4 @@ void fuse_chan_put(struct fuse_chan *ch); } #endif -#endif /* _FUSE_LOWLEVEL_H_ */ +#endif /* FUSE_LOWLEVEL_H_ */ diff --git a/include/fuse_opt.h b/include/fuse_opt.h index 20653b1..d8573e7 100644 --- a/include/fuse_opt.h +++ b/include/fuse_opt.h @@ -6,8 +6,8 @@ See the file COPYING.LIB. */ -#ifndef _FUSE_OPT_H_ -#define _FUSE_OPT_H_ +#ifndef FUSE_OPT_H_ +#define FUSE_OPT_H_ /** @file * @@ -268,4 +268,4 @@ int fuse_opt_match(const struct fuse_opt opts[], const char *opt); } #endif -#endif /* _FUSE_OPT_H_ */ +#endif /* FUSE_OPT_H_ */ -- cgit v1.2.3