Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbad2bd1 authored by Al Viro's avatar Al Viro
Browse files

qnx4: i_sb is never NULL



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 950ee956
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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) {