diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-08 15:16:14 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-09-08 15:16:14 +0000 |
commit | fa8486696751ca65bbbe8eca585b3682cb94635a (patch) | |
tree | 14ed058d15b9b136020af30da64dfb943cbe464f /include | |
parent | 5e3a7383bde79b460fec5420a093e1e71df389ad (diff) | |
download | android_external_fuse-fa8486696751ca65bbbe8eca585b3682cb94635a.tar.gz android_external_fuse-fa8486696751ca65bbbe8eca585b3682cb94635a.tar.bz2 android_external_fuse-fa8486696751ca65bbbe8eca585b3682cb94635a.zip |
more reverts
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/include/fuse.h b/include/fuse.h index 8175718..e64336e 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -128,20 +128,12 @@ struct fuse_operations { /** File open operation * * No creation, or trunctation flags (O_CREAT, O_EXCL, O_TRUNC) - * will be passed to open(). Optionally open may return an - * arbitary filehandle in the fuse_file_info structure, which will - * be passed to all file operations. - * - * Open does not need to check the permission to open the file - * with the given flags. In fact it cannot correctly do that - * since it doesn't have a way to determine if the file was just - * created (and hence the permission need not be checked). - * - * If permission needs to be checked, implement the access() - * method, and do the check there. + * will be passed to open(). Open should check if the operation + * is permitted for the given flags. Optionally open may also + * return an arbitary filehandle in the fuse_file_info structure, + * which will be passed to all file operations. * * Changed in version 2.2 - * Optional from version 2.4 */ int (*open) (const char *, struct fuse_file_info *); @@ -236,6 +228,9 @@ struct fuse_operations { /** Open directory * + * This method should check if the open operation is permitted for + * this directory + * * Introduced in version 2.3 */ int (*opendir) (const char *, struct fuse_file_info *); |