--- zzzz-none-000/linux-3.10.107/fs/qnx4/namei.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/fs/qnx4/namei.c 2021-02-04 17:41:59.000000000 +0000 @@ -60,10 +60,6 @@ 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) {