summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_da_btree.h
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-03-04 21:33:48 +0300
committerFelix Blyakher <felixb@sgi.com>2009-03-07 02:20:15 +0300
commit24418492aa245e9812c425593883b9db52fd8d29 (patch)
treef22d074cabd39f4882403ebd66d72e552dab49e0 /fs/xfs/xfs_da_btree.h
parent47d1ff6e1a24c0126cd0243b1d6d0a3ffbd7a026 (diff)
downloadlinux-24418492aa245e9812c425593883b9db52fd8d29.tar.xz
xfs: move declaration to header file
Fix this sparse warning: fs/xfs/xfs_da_btree.c:1550:26: warning: symbol 'xfs_default_nameops' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Felix Blyakher <felixb@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_da_btree.h')
-rw-r--r--fs/xfs/xfs_da_btree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/xfs/xfs_da_btree.h b/fs/xfs/xfs_da_btree.h
index 9d5a7e8c38fe..41f27b332048 100644
--- a/fs/xfs/xfs_da_btree.h
+++ b/fs/xfs/xfs_da_btree.h
@@ -268,5 +268,6 @@ xfs_daddr_t xfs_da_blkno(xfs_dabuf_t *dabuf);
extern struct kmem_zone *xfs_da_state_zone;
extern struct kmem_zone *xfs_dabuf_zone;
+extern const struct xfs_nameops xfs_default_nameops;
#endif /* __XFS_DA_BTREE_H__ */