OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30304ab
)
minixfs: kill dead code
author
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 18 Dec 2010 16:17:44 +0000
(11:17 -0500)
committer
Al 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
patch
|
blob
|
history
diff --git
a/fs/minix/namei.c
b/fs/minix/namei.c
index
1b9e077
..
ce7337d
100644
(file)
--- 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);