]> Pileus Git - ~andy/linux/blobdiff - fs/qnx4/namei.c
qnx4: i_sb is never NULL
[~andy/linux] / fs / qnx4 / namei.c
index d024505ba007549239f055f723c6fe13d8d23828..e62c8183777a73fb3b74f35d61f5821807b442c0 100644 (file)
@@ -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) {