aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hostfs/hostfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hostfs/hostfs.h')
-rw-r--r--fs/hostfs/hostfs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/hostfs/hostfs.h b/fs/hostfs/hostfs.h
index 70543b17e4c7..d8850c701564 100644
--- a/fs/hostfs/hostfs.h
+++ b/fs/hostfs/hostfs.h
@@ -55,7 +55,7 @@ extern int stat_file(const char *path, unsigned long long *inode_out,
55 int *mode_out, int *nlink_out, int *uid_out, int *gid_out, 55 int *mode_out, int *nlink_out, int *uid_out, int *gid_out,
56 unsigned long long *size_out, struct timespec *atime_out, 56 unsigned long long *size_out, struct timespec *atime_out,
57 struct timespec *mtime_out, struct timespec *ctime_out, 57 struct timespec *mtime_out, struct timespec *ctime_out,
58 int *blksize_out, unsigned long long *blocks_out); 58 int *blksize_out, unsigned long long *blocks_out, int fd);
59extern int access_file(char *path, int r, int w, int x); 59extern int access_file(char *path, int r, int w, int x);
60extern int open_file(char *path, int r, int w, int append); 60extern int open_file(char *path, int r, int w, int append);
61extern int file_type(const char *path, int *maj, int *min); 61extern int file_type(const char *path, int *maj, int *min);
@@ -71,7 +71,7 @@ extern int lseek_file(int fd, long long offset, int whence);
71extern int fsync_file(int fd, int datasync); 71extern int fsync_file(int fd, int datasync);
72extern int file_create(char *name, int ur, int uw, int ux, int gr, 72extern int file_create(char *name, int ur, int uw, int ux, int gr,
73 int gw, int gx, int or, int ow, int ox); 73 int gw, int gx, int or, int ow, int ox);
74extern int set_attr(const char *file, struct hostfs_iattr *attrs); 74extern int set_attr(const char *file, struct hostfs_iattr *attrs, int fd);
75extern int make_symlink(const char *from, const char *to); 75extern int make_symlink(const char *from, const char *to);
76extern int unlink_file(const char *file); 76extern int unlink_file(const char *file);
77extern int do_mkdir(const char *file, int mode); 77extern int do_mkdir(const char *file, int mode);