minixfs: kill dead code
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 18 Dec 2010 16:17:44 +0000 (11:17 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 13 Jan 2011 01:02:44 +0000 (20:02 -0500)
->d_op of root stays NULL these days on minixfs

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/minix/namei.c

index 1b9e07728a9fc3c95cc89b263f14fcb751697c6d..ce7337ddfdbfd2c156ec012b5a8282381954c49b 100644 (file)
@@ -23,8 +23,6 @@ static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, st
        struct inode * inode = NULL;
        ino_t ino;
 
-       d_set_d_op(dentry, dir->i_sb->s_root->d_op);
-
        if (dentry->d_name.len > minix_sb(dir->i_sb)->s_namelen)
                return ERR_PTR(-ENAMETOOLONG);