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.h9
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);
76extern int unlink_file(const char *file); 78extern int unlink_file(const char *file);
77extern int do_mkdir(const char *file, int mode); 79extern int do_mkdir(const char *file, int mode);
78extern int do_rmdir(const char *file); 80extern int do_rmdir(const char *file);
79extern int do_mknod(const char *file, int mode, unsigned int major, unsigned int minor); 81extern int do_mknod(const char *file, int mode, unsigned int major,
82 unsigned int minor);
80extern int link_file(const char *from, const char *to); 83extern int link_file(const char *from, const char *to);
81extern int do_readlink(char *file, char *buf, int size); 84extern int do_readlink(char *file, char *buf, int size);
82extern int rename_file(char *from, char *to); 85extern int rename_file(char *from, char *to);