diff options
| author | Hannes Eder <hannes@hanneseder.net> | 2009-03-04 13:33:48 -0500 |
|---|---|---|
| committer | Felix Blyakher <felixb@sgi.com> | 2009-03-06 18:20:15 -0500 |
| commit | 24418492aa245e9812c425593883b9db52fd8d29 (patch) | |
| tree | f22d074cabd39f4882403ebd66d72e552dab49e0 | |
| parent | 47d1ff6e1a24c0126cd0243b1d6d0a3ffbd7a026 (diff) | |
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>
| -rw-r--r-- | fs/xfs/xfs_da_btree.h | 1 | ||||
| -rw-r--r-- | fs/xfs/xfs_dir2.c | 2 |
2 files changed, 1 insertions, 2 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); | |||
| 268 | 268 | ||
| 269 | extern struct kmem_zone *xfs_da_state_zone; | 269 | extern struct kmem_zone *xfs_da_state_zone; |
| 270 | extern struct kmem_zone *xfs_dabuf_zone; | 270 | extern struct kmem_zone *xfs_dabuf_zone; |
| 271 | extern const struct xfs_nameops xfs_default_nameops; | ||
| 271 | 272 | ||
| 272 | #endif /* __XFS_DA_BTREE_H__ */ | 273 | #endif /* __XFS_DA_BTREE_H__ */ |
diff --git a/fs/xfs/xfs_dir2.c b/fs/xfs/xfs_dir2.c index 1afb12278b8d..c657bec6d951 100644 --- a/fs/xfs/xfs_dir2.c +++ b/fs/xfs/xfs_dir2.c | |||
| @@ -46,8 +46,6 @@ | |||
| 46 | 46 | ||
| 47 | struct xfs_name xfs_name_dotdot = {"..", 2}; | 47 | struct xfs_name xfs_name_dotdot = {"..", 2}; |
| 48 | 48 | ||
| 49 | extern const struct xfs_nameops xfs_default_nameops; | ||
| 50 | |||
| 51 | /* | 49 | /* |
| 52 | * ASCII case-insensitive (ie. A-Z) support for directories that was | 50 | * ASCII case-insensitive (ie. A-Z) support for directories that was |
| 53 | * used in IRIX. | 51 | * used in IRIX. |
