diff options
Diffstat (limited to 'fs/hostfs/hostfs.h')
-rw-r--r-- | fs/hostfs/hostfs.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fs/hostfs/hostfs.h b/fs/hostfs/hostfs.h index 06e5930515fe..6ae9011b95eb 100644 --- a/fs/hostfs/hostfs.h +++ b/fs/hostfs/hostfs.h | |||
@@ -3,7 +3,8 @@ | |||
3 | 3 | ||
4 | #include "os.h" | 4 | #include "os.h" |
5 | 5 | ||
6 | /* These are exactly the same definitions as in fs.h, but the names are | 6 | /* |
7 | * These are exactly the same definitions as in fs.h, but the names are | ||
7 | * changed so that this file can be included in both kernel and user files. | 8 | * changed so that this file can be included in both kernel and user files. |
8 | */ | 9 | */ |
9 | 10 | ||
@@ -21,7 +22,8 @@ | |||
21 | #define HOSTFS_ATTR_FORCE 512 /* Not a change, but a change it */ | 22 | #define HOSTFS_ATTR_FORCE 512 /* Not a change, but a change it */ |
22 | #define HOSTFS_ATTR_ATTR_FLAG 1024 | 23 | #define HOSTFS_ATTR_ATTR_FLAG 1024 |
23 | 24 | ||
24 | /* If you are very careful, you'll notice that these two are missing: | 25 | /* |
26 | * If you are very careful, you'll notice that these two are missing: | ||
25 | * | 27 | * |
26 | * #define ATTR_KILL_SUID 2048 | 28 | * #define ATTR_KILL_SUID 2048 |
27 | * #define ATTR_KILL_SGID 4096 | 29 | * #define ATTR_KILL_SGID 4096 |
@@ -76,7 +78,8 @@ extern int make_symlink(const char *from, const char *to); | |||
76 | extern int unlink_file(const char *file); | 78 | extern int unlink_file(const char *file); |
77 | extern int do_mkdir(const char *file, int mode); | 79 | extern int do_mkdir(const char *file, int mode); |
78 | extern int do_rmdir(const char *file); | 80 | extern int do_rmdir(const char *file); |
79 | extern int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor); | 81 | extern int do_mknod(const char *file, int mode, unsigned int major, |
82 | unsigned int minor); | ||
80 | extern int link_file(const char *from, const char *to); | 83 | extern int link_file(const char *from, const char *to); |
81 | extern int do_readlink(char *file, char *buf, int size); | 84 | extern int do_readlink(char *file, char *buf, int size); |
82 | extern int rename_file(char *from, char *to); | 85 | extern int rename_file(char *from, char *to); |