From: Al Viro Date: Sat, 18 Dec 2010 16:17:44 +0000 (-0500) Subject: minixfs: kill dead code X-Git-Tag: firefly_0821_release~7613^2~2883^2~33 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c6cb412366e8f338baae7300b9f1961f3e559a24;p=firefly-linux-kernel-4.4.55.git minixfs: kill dead code ->d_op of root stays NULL these days on minixfs Signed-off-by: Al Viro --- diff --git a/fs/minix/namei.c b/fs/minix/namei.c index 1b9e07728a9f..ce7337ddfdbf 100644 --- a/fs/minix/namei.c +++ b/fs/minix/namei.c @@ -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);