diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-03 19:46:35 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-11-09 00:16:32 -0500 |
commit | fbad2bd13235067eef0b5b5e18b40e84ca425815 (patch) | |
tree | 420d616b8c959ed1a996cf53acd685885aabbb24 /fs/qnx4 | |
parent | 950ee9566a5b6cc45d15f5fe044bab4f1e8b62cb (diff) |
qnx4: i_sb is never NULL
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/qnx4')
-rw-r--r-- | fs/qnx4/namei.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/qnx4/namei.c b/fs/qnx4/namei.c index d024505ba007..e62c8183777a 100644 --- a/fs/qnx4/namei.c +++ b/fs/qnx4/namei.c | |||
@@ -60,10 +60,6 @@ static struct buffer_head *qnx4_find_entry(int len, struct inode *dir, | |||
60 | struct buffer_head *bh; | 60 | struct buffer_head *bh; |
61 | 61 | ||
62 | *res_dir = NULL; | 62 | *res_dir = NULL; |
63 | if (!dir->i_sb) { | ||
64 | printk(KERN_WARNING "qnx4: no superblock on dir.\n"); | ||
65 | return NULL; | ||
66 | } | ||
67 | bh = NULL; | 63 | bh = NULL; |
68 | block = offset = blkofs = 0; | 64 | block = offset = blkofs = 0; |
69 | while (blkofs * QNX4_BLOCK_SIZE + offset < dir->i_size) { | 65 | while (blkofs * QNX4_BLOCK_SIZE + offset < dir->i_size) { |