mirror of
https://github.com/openharmony/third_party_libfuse.git
synced 2026-07-19 21:43:34 -04:00
spelling fix
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2005-10-11 Miklos Szeredi <miklos@szeredi.hu>
|
||||
|
||||
* Spelling fixes, thanks to Ioannis Barkas
|
||||
|
||||
2005-10-10 Miklos Szeredi <miklos@szeredi.hu>
|
||||
|
||||
* fuse_common.h: use extern "C". Thanks to Valient Gough for the
|
||||
|
||||
+7
-7
@@ -127,10 +127,10 @@ struct fuse_operations {
|
||||
|
||||
/** File open operation
|
||||
*
|
||||
* No creation, or trunctation flags (O_CREAT, O_EXCL, O_TRUNC)
|
||||
* No creation, or truncation flags (O_CREAT, O_EXCL, O_TRUNC)
|
||||
* 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,
|
||||
* return an arbitrary filehandle in the fuse_file_info structure,
|
||||
* which will be passed to all file operations.
|
||||
*
|
||||
* Changed in version 2.2
|
||||
@@ -185,7 +185,7 @@ struct fuse_operations {
|
||||
* should be treated equally. Multiple write-flush sequences are
|
||||
* relatively rare, so this shouldn't be a problem.
|
||||
*
|
||||
* Filesystems shouldn't assume that flush will allways be called
|
||||
* Filesystems shouldn't assume that flush will always be called
|
||||
* after some writes, or that if will be called at all.
|
||||
*
|
||||
* Changed in version 2.2
|
||||
@@ -376,11 +376,11 @@ void fuse_destroy(struct fuse *f);
|
||||
/**
|
||||
* FUSE event loop.
|
||||
*
|
||||
* Requests from the kernel are processed, and the apropriate
|
||||
* Requests from the kernel are processed, and the appropriate
|
||||
* operations are called.
|
||||
*
|
||||
* @param f the FUSE handle
|
||||
* @return 0 if no error occured, -1 otherwise
|
||||
* @return 0 if no error occurred, -1 otherwise
|
||||
*/
|
||||
int fuse_loop(struct fuse *f);
|
||||
|
||||
@@ -394,7 +394,7 @@ void fuse_exit(struct fuse *f);
|
||||
/**
|
||||
* FUSE event loop with multiple threads
|
||||
*
|
||||
* Requests from the kernel are processed, and the apropriate
|
||||
* Requests from the kernel are processed, and the appropriate
|
||||
* operations are called. Request are processed in parallel by
|
||||
* distributing them between multiple threads.
|
||||
*
|
||||
@@ -402,7 +402,7 @@ void fuse_exit(struct fuse *f);
|
||||
* the application.
|
||||
*
|
||||
* @param f the FUSE handle
|
||||
* @return 0 if no error occured, -1 otherwise
|
||||
* @return 0 if no error occurred, -1 otherwise
|
||||
*/
|
||||
int fuse_loop_mt(struct fuse *f);
|
||||
|
||||
|
||||
@@ -412,7 +412,7 @@ struct fuse_lowlevel_ops {
|
||||
* Since file descriptors can be duplicated (dup, dup2, fork), for
|
||||
* one open call there may be many flush calls.
|
||||
*
|
||||
* Filesystems shouldn't assume that flush will allways be called
|
||||
* Filesystems shouldn't assume that flush will always be called
|
||||
* after some writes, or that if will be called at all.
|
||||
*
|
||||
* fi->fh will contain the value set by the open method, or will
|
||||
@@ -613,7 +613,7 @@ struct fuse_lowlevel_ops {
|
||||
* If size is zero, the total size of the attribute list should be
|
||||
* sent with fuse_reply_xattr.
|
||||
*
|
||||
* If the size is non-zero, and the null charater separated
|
||||
* If the size is non-zero, and the null character separated
|
||||
* attribute list fits in the buffer, the list should be sent with
|
||||
* fuse_reply_buf.
|
||||
*
|
||||
@@ -991,7 +991,7 @@ int fuse_session_exited(struct fuse_session *se);
|
||||
int fuse_session_loop(struct fuse_session *se);
|
||||
|
||||
/**
|
||||
* Enter a muli-threaded event loop
|
||||
* Enter a multi-threaded event loop
|
||||
*
|
||||
* @param se the session
|
||||
* @return 0 on success, -1 on error
|
||||
|
||||
+3
-3
@@ -191,9 +191,9 @@ void fuse_release_background(struct fuse_req *req)
|
||||
/*
|
||||
* This function is called when a request is finished. Either a reply
|
||||
* has arrived or it was interrupted (and not yet sent) or some error
|
||||
* occured during communication with userspace, or the device file was
|
||||
* closed. It decreases the referece count for the request. In case
|
||||
* of a background request the referece to the stored objects are
|
||||
* occurred during communication with userspace, or the device file was
|
||||
* closed. It decreases the reference count for the request. In case
|
||||
* of a background request the reference to the stored objects are
|
||||
* released. The requester thread is woken up (if still waiting), and
|
||||
* finally the request is either freed or put on the unused_list
|
||||
*
|
||||
|
||||
+6
-6
@@ -429,22 +429,22 @@ int fuse_fsync_common(struct file *file, struct dentry *de, int datasync,
|
||||
int isdir);
|
||||
|
||||
/**
|
||||
* Initialise file operations on a regular file
|
||||
* Initialize file operations on a regular file
|
||||
*/
|
||||
void fuse_init_file_inode(struct inode *inode);
|
||||
|
||||
/**
|
||||
* Initialise inode operations on regular files and special files
|
||||
* Initialize inode operations on regular files and special files
|
||||
*/
|
||||
void fuse_init_common(struct inode *inode);
|
||||
|
||||
/**
|
||||
* Initialise inode and file operations on a directory
|
||||
* Initialize inode and file operations on a directory
|
||||
*/
|
||||
void fuse_init_dir(struct inode *inode);
|
||||
|
||||
/**
|
||||
* Initialise inode operations on a symlink
|
||||
* Initialize inode operations on a symlink
|
||||
*/
|
||||
void fuse_init_symlink(struct inode *inode);
|
||||
|
||||
@@ -491,7 +491,7 @@ struct fuse_req *fuse_get_request(struct fuse_conn *fc);
|
||||
|
||||
/**
|
||||
* Decrement reference count of a request. If count goes to zero put
|
||||
* on unused list (preallocated) or free reqest (not preallocated).
|
||||
* on unused list (preallocated) or free request (not preallocated).
|
||||
*/
|
||||
void fuse_put_request(struct fuse_conn *fc, struct fuse_req *req);
|
||||
|
||||
@@ -511,7 +511,7 @@ void request_send_noreply(struct fuse_conn *fc, struct fuse_req *req);
|
||||
void request_send_background(struct fuse_conn *fc, struct fuse_req *req);
|
||||
|
||||
/**
|
||||
* Release inodes and file assiciated with background request
|
||||
* Release inodes and file associated with background request
|
||||
*/
|
||||
void fuse_release_background(struct fuse_req *req);
|
||||
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@
|
||||
|
||||
/* FUSE flags: */
|
||||
|
||||
/** Enable debuging output */
|
||||
/** Enable debugging output */
|
||||
#define FUSE_DEBUG (1 << 1)
|
||||
|
||||
/** If a file is removed but it's still open, don't hide the file but
|
||||
|
||||
@@ -28,7 +28,7 @@ static int fuse_kern_chan_receive(struct fuse_chan *ch, char *buf, size_t size)
|
||||
operation was interrupted */
|
||||
if (err == EINTR || err == ENOENT)
|
||||
return 0;
|
||||
/* ENODEV means we got unmounted, so we silenty return failure */
|
||||
/* ENODEV means we got unmounted, so we silently return failure */
|
||||
if (err != ENODEV)
|
||||
perror("fuse: reading device");
|
||||
return -1;
|
||||
|
||||
+1
-2
@@ -873,7 +873,7 @@ struct fuse_session *fuse_lowlevel_new(const char *opts,
|
||||
};
|
||||
|
||||
if (sizeof(struct fuse_lowlevel_ops) < op_size) {
|
||||
fprintf(stderr, "fuse: warning: library too old, some operations may not not work\n");
|
||||
fprintf(stderr, "fuse: warning: library too old, some operations may not work\n");
|
||||
op_size = sizeof(struct fuse_lowlevel_ops);
|
||||
}
|
||||
|
||||
@@ -901,4 +901,3 @@ struct fuse_session *fuse_lowlevel_new(const char *opts,
|
||||
out:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ static void usage(const char *progname)
|
||||
"FUSE options:\n"
|
||||
" -d enable debug output (implies -f)\n"
|
||||
" -f foreground operation\n"
|
||||
" -s disable multithreaded operation\n"
|
||||
" -s disable multi-threaded operation\n"
|
||||
" -r mount read only (equivalent to '-o ro')\n"
|
||||
" -o opt,[opt...] mount options\n"
|
||||
" -h print help\n"
|
||||
|
||||
+1
-1
@@ -238,7 +238,7 @@ static int count_fuse_fs(void)
|
||||
const char *mtab = _PATH_MOUNTED;
|
||||
FILE *fp = setmntent(mtab, "r");
|
||||
if (fp == NULL) {
|
||||
fprintf(stderr, "%s: faild to open %s: %s\n", progname, mtab,
|
||||
fprintf(stderr, "%s: failed to open %s: %s\n", progname, mtab,
|
||||
strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user