diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-12 16:45:19 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-12 20:03:42 -0500 |
commit | a129880dafaa3c80eb0bae714da38088ccc2ce21 (patch) | |
tree | 4fdde6bdd2d057964fcc84038041dd3ac87e7c87 /fs/affs/namei.c | |
parent | d463a0c4b53a8fab505fd9aa3a1a04cb9f411b78 (diff) | |
download | op-kernel-dev-a129880dafaa3c80eb0bae714da38088ccc2ce21.zip op-kernel-dev-a129880dafaa3c80eb0bae714da38088ccc2ce21.tar.gz |
switch affs
either d_op instance would work for root, actually...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/affs/namei.c')
-rw-r--r-- | fs/affs/namei.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/affs/namei.c b/fs/affs/namei.c index 944a404..e3e9efc 100644 --- a/fs/affs/namei.c +++ b/fs/affs/namei.c @@ -32,7 +32,7 @@ const struct dentry_operations affs_dentry_operations = { .d_compare = affs_compare_dentry, }; -static const struct dentry_operations affs_intl_dentry_operations = { +const struct dentry_operations affs_intl_dentry_operations = { .d_hash = affs_intl_hash_dentry, .d_compare = affs_intl_compare_dentry, }; @@ -240,7 +240,6 @@ affs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) if (IS_ERR(inode)) return ERR_CAST(inode); } - d_set_d_op(dentry, AFFS_SB(sb)->s_flags & SF_INTL ? &affs_intl_dentry_operations : &affs_dentry_operations); d_add(dentry, inode); return NULL; } |