summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/ops_inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-12-18 18:06:56 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2011-01-13 02:02:46 +0100
commit41ced6dcf3dc6b901716fda0dc8de3536da4d39b (patch)
treecffec5e5bde8d8a580c03cef8eea2ddb9a821d8a /fs/gfs2/ops_inode.c
parentswitch cifs (diff)
downloadlinux-41ced6dcf3dc6b901716fda0dc8de3536da4d39b.tar.xz
linux-41ced6dcf3dc6b901716fda0dc8de3536da4d39b.zip
switch gfs2, close races
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/gfs2/ops_inode.c')
-rw-r--r--fs/gfs2/ops_inode.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/ops_inode.c b/fs/gfs2/ops_inode.c
index 1501db4f0e6d..ae140c8abb5c 100644
--- a/fs/gfs2/ops_inode.c
+++ b/fs/gfs2/ops_inode.c
@@ -106,8 +106,6 @@ static struct dentry *gfs2_lookup(struct inode *dir, struct dentry *dentry,
{
struct inode *inode = NULL;
- d_set_d_op(dentry, &gfs2_dops);
-
inode = gfs2_lookupi(dir, &dentry->d_name, 0);
if (inode && IS_ERR(inode))
return ERR_CAST(inode);