summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_dir2.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-03-04 19:33:48 +0100
committerFelix Blyakher <felixb@sgi.com>2009-03-06 17:20:15 -0600
commit24418492aa245e9812c425593883b9db52fd8d29 (patch)
treef22d074cabd39f4882403ebd66d72e552dab49e0 /fs/xfs/xfs_dir2.c
parent47d1ff6e1a24c0126cd0243b1d6d0a3ffbd7a026 (diff)
downloadop-kernel-dev-24418492aa245e9812c425593883b9db52fd8d29.zip
op-kernel-dev-24418492aa245e9812c425593883b9db52fd8d29.tar.gz
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_dir2.c')
-rw-r--r--fs/xfs/xfs_dir2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/xfs/xfs_dir2.c b/fs/xfs/xfs_dir2.c
index 1afb122..c657bec 100644
--- a/fs/xfs/xfs_dir2.c
+++ b/fs/xfs/xfs_dir2.c
@@ -46,8 +46,6 @@
struct xfs_name xfs_name_dotdot = {"..", 2};
-extern const struct xfs_nameops xfs_default_nameops;
-
/*
* ASCII case-insensitive (ie. A-Z) support for directories that was
* used in IRIX.
OpenPOWER on IntegriCloud