Skip to content

Commit

Permalink
minixfs: kill dead code
Browse files Browse the repository at this point in the history
->d_op of root stays NULL these days on minixfs

Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Jan 13, 2011
1 parent 30304ab commit c6cb412
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/minix/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit c6cb412

Please sign in to comment.