Skip to content

Commit

Permalink
qnx4: i_sb is never NULL
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
  • Loading branch information
Al Viro committed Nov 9, 2013
1 parent 950ee95 commit fbad2bd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fs/qnx4/namei.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit fbad2bd

Please sign in to comment.