summaryrefslogtreecommitdiffstats
path: root/fs/afs/dir.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2011-01-12 20:04:20 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-12 20:04:20 -0500
commitd61dcce2977d9abe855a5fe3570a81242209c23b (patch)
tree886d90b1a02222a0e61860d54ab4eab7400c463e /fs/afs/dir.c
parent32c419d95f3d1da891ab9bd032a214ee05b94ed4 (diff)
downloadop-kernel-dev-d61dcce2977d9abe855a5fe3570a81242209c23b.zip
op-kernel-dev-d61dcce2977d9abe855a5fe3570a81242209c23b.tar.gz
switch afs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/afs/dir.c')
-rw-r--r--fs/afs/dir.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/fs/afs/dir.c b/fs/afs/dir.c
index 34a3263..e6a4ab9 100644
--- a/fs/afs/dir.c
+++ b/fs/afs/dir.c
@@ -62,7 +62,7 @@ const struct inode_operations afs_dir_inode_operations = {
.setattr = afs_setattr,
};
-static const struct dentry_operations afs_fs_dentry_operations = {
+const struct dentry_operations afs_fs_dentry_operations = {
.d_revalidate = afs_d_revalidate,
.d_delete = afs_d_delete,
.d_release = afs_d_release,
@@ -582,8 +582,6 @@ static struct dentry *afs_lookup(struct inode *dir, struct dentry *dentry,
}
success:
- d_set_d_op(dentry, &afs_fs_dentry_operations);
-
d_add(dentry, inode);
_leave(" = 0 { vn=%u u=%u } -> { ino=%lu v=%llu }",
fid.vnode,
OpenPOWER on IntegriCloud