Skip to content
Snippets Groups Projects
Commit c6cb4123 authored by Al Viro's avatar Al Viro
Browse files

minixfs: kill dead code


->d_op of root stays NULL these days on minixfs

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 30304aba
No related branches found
No related tags found
No related merge requests found
...@@ -23,8 +23,6 @@ static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, st ...@@ -23,8 +23,6 @@ static struct dentry *minix_lookup(struct inode * dir, struct dentry *dentry, st
struct inode * inode = NULL; struct inode * inode = NULL;
ino_t ino; 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) if (dentry->d_name.len > minix_sb(dir->i_sb)->s_namelen)
return ERR_PTR(-ENAMETOOLONG); return ERR_PTR(-ENAMETOOLONG);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment