diff options
Diffstat (limited to 'arch/s390/hypfs/hypfs.h')
-rw-r--r-- | arch/s390/hypfs/hypfs.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/s390/hypfs/hypfs.h b/arch/s390/hypfs/hypfs.h new file mode 100644 index 000000000000..ea5567be00fc --- /dev/null +++ b/arch/s390/hypfs/hypfs.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * fs/hypfs/hypfs.h | ||
3 | * Hypervisor filesystem for Linux on s390. | ||
4 | * | ||
5 | * Copyright (C) IBM Corp. 2006 | ||
6 | * Author(s): Michael Holzheu <holzheu@de.ibm.com> | ||
7 | */ | ||
8 | |||
9 | #ifndef _HYPFS_H_ | ||
10 | #define _HYPFS_H_ | ||
11 | |||
12 | #include <linux/fs.h> | ||
13 | #include <linux/types.h> | ||
14 | |||
15 | #define REG_FILE_MODE 0440 | ||
16 | #define UPDATE_FILE_MODE 0220 | ||
17 | #define DIR_MODE 0550 | ||
18 | |||
19 | extern struct dentry *hypfs_mkdir(struct super_block *sb, struct dentry *parent, | ||
20 | const char *name); | ||
21 | |||
22 | extern struct dentry *hypfs_create_u64(struct super_block *sb, | ||
23 | struct dentry *dir, const char *name, | ||
24 | __u64 value); | ||
25 | |||
26 | extern struct dentry *hypfs_create_str(struct super_block *sb, | ||
27 | struct dentry *dir, const char *name, | ||
28 | char *string); | ||
29 | |||
30 | #endif /* _HYPFS_H_ */ | ||