Blame view
fs/xfs/xfs_super.h
2.33 KB
1da177e4c Linux-2.6.12-rc2 |
1 |
/* |
7b7187698 [XFS] Update lice... |
2 3 |
* Copyright (c) 2000-2005 Silicon Graphics, Inc. * All Rights Reserved. |
1da177e4c Linux-2.6.12-rc2 |
4 |
* |
7b7187698 [XFS] Update lice... |
5 6 |
* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as |
1da177e4c Linux-2.6.12-rc2 |
7 8 |
* published by the Free Software Foundation. * |
7b7187698 [XFS] Update lice... |
9 10 11 12 |
* This program is distributed in the hope that it would be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. |
1da177e4c Linux-2.6.12-rc2 |
13 |
* |
7b7187698 [XFS] Update lice... |
14 15 16 |
* You should have received a copy of the GNU General Public License * along with this program; if not, write the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
1da177e4c Linux-2.6.12-rc2 |
17 18 19 |
*/ #ifndef __XFS_SUPER_H__ #define __XFS_SUPER_H__ |
a56942551 knfsd: exportfs: ... |
20 |
#include <linux/exportfs.h> |
1da177e4c Linux-2.6.12-rc2 |
21 |
#ifdef CONFIG_XFS_QUOTA |
1da177e4c Linux-2.6.12-rc2 |
22 23 24 25 26 |
extern void xfs_qm_init(void); extern void xfs_qm_exit(void); # define vfs_initquota() xfs_qm_init() # define vfs_exitquota() xfs_qm_exit() #else |
1da177e4c Linux-2.6.12-rc2 |
27 28 29 30 31 32 33 34 35 36 37 |
# define vfs_initquota() do { } while (0) # define vfs_exitquota() do { } while (0) #endif #ifdef CONFIG_XFS_POSIX_ACL # define XFS_ACL_STRING "ACLs, " # define set_posix_acl_flag(sb) ((sb)->s_flags |= MS_POSIXACL) #else # define XFS_ACL_STRING # define set_posix_acl_flag(sb) do { } while (0) #endif |
f7d3c3478 [XFS] Remove CONF... |
38 |
#define XFS_SECURITY_STRING "security attributes, " |
1da177e4c Linux-2.6.12-rc2 |
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
#ifdef CONFIG_XFS_RT # define XFS_REALTIME_STRING "realtime, " #else # define XFS_REALTIME_STRING #endif #if XFS_BIG_BLKNOS # if XFS_BIG_INUMS # define XFS_BIGFS_STRING "large block/inode numbers, " # else # define XFS_BIGFS_STRING "large block numbers, " # endif #else # define XFS_BIGFS_STRING #endif |
1da177e4c Linux-2.6.12-rc2 |
55 56 57 58 59 |
#ifdef DEBUG # define XFS_DBG_STRING "debug" #else # define XFS_DBG_STRING "no debug" #endif |
668332e5f xfs: remove xfs_v... |
60 |
#define XFS_VERSION_STRING "SGI XFS" |
1da177e4c Linux-2.6.12-rc2 |
61 62 63 64 |
#define XFS_BUILD_OPTIONS XFS_ACL_STRING \ XFS_SECURITY_STRING \ XFS_REALTIME_STRING \ XFS_BIGFS_STRING \ |
1da177e4c Linux-2.6.12-rc2 |
65 |
XFS_DBG_STRING /* DBG must be last */ |
1da177e4c Linux-2.6.12-rc2 |
66 67 68 69 70 71 |
struct xfs_inode; struct xfs_mount; struct xfs_buftarg; struct block_device; extern __uint64_t xfs_max_file_offset(unsigned int); |
f538d4da8 [XFS] write barri... |
72 |
extern void xfs_blkdev_issue_flush(struct xfs_buftarg *); |
1da177e4c Linux-2.6.12-rc2 |
73 |
|
396551644 exportfs: make st... |
74 |
extern const struct export_operations xfs_export_operations; |
46e58764f xfs: constify xat... |
75 |
extern const struct xattr_handler *xfs_xattr_handlers[]; |
0d54b217a const: make struc... |
76 |
extern const struct quotactl_ops xfs_quotactl_operations; |
1da177e4c Linux-2.6.12-rc2 |
77 |
|
b267ce995 [XFS] kill struct... |
78 |
#define XFS_M(sb) ((struct xfs_mount *)((sb)->s_fs_info)) |
b09cc7710 [XFS] remove depe... |
79 |
|
1da177e4c Linux-2.6.12-rc2 |
80 |
#endif /* __XFS_SUPER_H__ */ |