|
@@ -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;
|
|
|
}
|