fs/affs/namei.c: forward declarations clean-up
PATCH 26/78 fs/affs/namei.c: forward declarations clean-up
From: Fabian Frederick <[email protected]>
Subject: fs/affs/namei.c: forward declarations clean-up
Move dentry_operations structures and remove forward declarations.
Signed-off-by Fabian Frederick <[email protected]>
Cc Al Viro <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/affs/namei.c | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-)
fs/affs/namei.c renamed from fs/affs/namei.c~fs-affs-nameic-forward-declarations-clean-up +0 -19
@@ -13,26 +13,6 @@typedef int (*toupper_t )(int ); -static int affs_toupper (int ch); -static int affs_hash_dentry (const struct dentry *,struct qstr *); -static int affs_compare_dentry (const struct dentry *dentry, -unsigned int len,const char *str,const struct qstr *name); -static int affs_intl_toupper (int ch); -static int affs_intl_hash_dentry (const struct dentry *,struct qstr *); -static int affs_intl_compare_dentry (const struct dentry *dentry, -unsigned int len,const char *str,const struct qstr *name); - -const struct dentry_operations affs_dentry_operations = { - .d_hash = affs_hash_dentry, - .d_compare = affs_compare_dentry, -}; - -const struct dentry_operations affs_intl_dentry_operations = { - .d_hash = affs_intl_hash_dentry, - .d_compare = affs_intl_compare_dentry, -}; -