diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-12-18 11:17:44 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2011-01-12 20:02:44 -0500 |
commit | c6cb412366e8f338baae7300b9f1961f3e559a24 (patch) | |
tree | 0827ca880c54e3377b9f9b0c709c433bd4126dc5 /fs/minix | |
parent | 30304aba6a053f114092cea6643a96ac2902bc5a (diff) | |
download | kernel_samsung_tuna-c6cb412366e8f338baae7300b9f1961f3e559a24.zip kernel_samsung_tuna-c6cb412366e8f338baae7300b9f1961f3e559a24.tar.gz kernel_samsung_tuna-c6cb412366e8f338baae7300b9f1961f3e559a24.tar.bz2 |
minixfs: kill dead code
->d_op of root stays NULL these days on minixfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/minix')
-rw-r--r-- | fs/minix/namei.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/minix/namei.c b/fs/minix/namei.c index 1b9e077..ce7337d 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); |