[PATCH v5 07/10] xfs: make xfs_quota_type() non-static
Brian Foster
bfoster at redhat.com
Fri Oct 5 09:17:13 CDT 2012
Make xfs_quota_type() into a non-static function. This is to
support quota ID filtering in the eofblocks ioctl().
Signed-off-by: Brian Foster <bfoster at redhat.com>
---
fs/xfs/xfs_quota.h | 1 +
fs/xfs/xfs_quotaops.c | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/fs/xfs/xfs_quota.h b/fs/xfs/xfs_quota.h
index b50ec5b..3ec6224 100644
--- a/fs/xfs/xfs_quota.h
+++ b/fs/xfs/xfs_quota.h
@@ -379,6 +379,7 @@ static inline int xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp,
extern int xfs_qm_dqcheck(struct xfs_mount *, xfs_disk_dquot_t *,
xfs_dqid_t, uint, uint, char *);
extern int xfs_mount_reset_sbqflags(struct xfs_mount *);
+int xfs_quota_type(int);
#endif /* __KERNEL__ */
#endif /* __XFS_QUOTA_H__ */
diff --git a/fs/xfs/xfs_quotaops.c b/fs/xfs/xfs_quotaops.c
index fed504f..fe15aa7 100644
--- a/fs/xfs/xfs_quotaops.c
+++ b/fs/xfs/xfs_quotaops.c
@@ -28,7 +28,7 @@
#include <linux/quota.h>
-STATIC int
+int
xfs_quota_type(int type)
{
switch (type) {
--
1.7.7.6
More information about the xfs
mailing list