Skip to content

Commit fbad2bd

Browse files
author
Al Viro
committed
qnx4: i_sb is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
1 parent 950ee95 commit fbad2bd

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎fs/qnx4/namei.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ static struct buffer_head *qnx4_find_entry(int len, struct inode *dir,
6060
struct buffer_head *bh;
6161

6262
*res_dir = NULL;
63-
if (!dir->i_sb) {
64-
printk(KERN_WARNING "qnx4: no superblock on dir.\n");
65-
return NULL;
66-
}
6763
bh = NULL;
6864
block = offset = blkofs = 0;
6965
while (blkofs * QNX4_BLOCK_SIZE + offset < dir->i_size) {

0 commit comments

Comments
 (0)