projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
950ee95
)
qnx4: i_sb is never NULL
author
Al Viro
<viro@zeniv.linux.org.uk>
Mon, 4 Nov 2013 00:46:35 +0000
(19:46 -0500)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Sat, 9 Nov 2013 05:16:32 +0000
(
00:16
-0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/qnx4/namei.c
patch
|
blob
|
history
diff --git
a/fs/qnx4/namei.c
b/fs/qnx4/namei.c
index
d024505
..
e62c818
100644
(file)
--- a/
fs/qnx4/namei.c
+++ b/
fs/qnx4/namei.c
@@
-60,10
+60,6
@@
static struct buffer_head *qnx4_find_entry(int len, struct inode *dir,
struct buffer_head *bh;
*res_dir = NULL;
- if (!dir->i_sb) {
- printk(KERN_WARNING "qnx4: no superblock on dir.\n");
- return NULL;
- }
bh = NULL;
block = offset = blkofs = 0;
while (blkofs * QNX4_BLOCK_SIZE + offset < dir->i_size) {