diff options
Diffstat (limited to 'fs/afs/super.h')
-rw-r--r-- | fs/afs/super.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/fs/afs/super.h b/fs/afs/super.h index 32de8cc6fae8..c95b48edfc7e 100644 --- a/fs/afs/super.h +++ b/fs/afs/super.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* super.h: AFS filesystem internal private data | 1 | /* AFS filesystem internal private data |
2 | * | 2 | * |
3 | * Copyright (c) 2002 Red Hat, Inc. All rights reserved. | 3 | * Copyright (c) 2002 Red Hat, Inc. All rights reserved. |
4 | * | 4 | * |
@@ -14,21 +14,17 @@ | |||
14 | * | 14 | * |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #ifndef _LINUX_AFS_SUPER_H | 17 | #ifndef AFS_SUPER_H |
18 | #define _LINUX_AFS_SUPER_H | 18 | #define AFS_SUPER_H |
19 | 19 | ||
20 | #include <linux/fs.h> | 20 | #include <linux/fs.h> |
21 | #include "server.h" | 21 | #include "server.h" |
22 | 22 | ||
23 | #ifdef __KERNEL__ | ||
24 | |||
25 | /*****************************************************************************/ | ||
26 | /* | 23 | /* |
27 | * AFS superblock private data | 24 | * AFS superblock private data |
28 | * - there's one superblock per volume | 25 | * - there's one superblock per volume |
29 | */ | 26 | */ |
30 | struct afs_super_info | 27 | struct afs_super_info { |
31 | { | ||
32 | struct afs_volume *volume; /* volume record */ | 28 | struct afs_volume *volume; /* volume record */ |
33 | char rwparent; /* T if parent is R/W AFS volume */ | 29 | char rwparent; /* T if parent is R/W AFS volume */ |
34 | }; | 30 | }; |
@@ -40,6 +36,4 @@ static inline struct afs_super_info *AFS_FS_S(struct super_block *sb) | |||
40 | 36 | ||
41 | extern struct file_system_type afs_fs_type; | 37 | extern struct file_system_type afs_fs_type; |
42 | 38 | ||
43 | #endif /* __KERNEL__ */ | 39 | #endif /* AFS_SUPER_H */ |
44 | |||
45 | #endif /* _LINUX_AFS_SUPER_H */ | ||