summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-01-08 01:02:33 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-08 20:13:51 -0800
commitb8b0af24353eafadf58a0889999700e43f135aad (patch)
treee3ee61aaf3326f9e096b16a144d53d7b4708e4e3 /fs
parent6b9c7ed84837753a436415097063232422e29a35 (diff)
downloadkernel-common-b8b0af24353eafadf58a0889999700e43f135aad.tar.gz
kernel-common-b8b0af24353eafadf58a0889999700e43f135aad.tar.bz2
kernel-common-b8b0af24353eafadf58a0889999700e43f135aad.zip
[PATCH] udf: remove bogus inode == NULL check in inode_bmap
inode can never be NULL when calling this function. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs')
-rw-r--r--fs/udf/inode.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/udf/inode.c b/fs/udf/inode.c
index 4014f17d382e..395e582ee542 100644
--- a/fs/udf/inode.c
+++ b/fs/udf/inode.c
@@ -1957,11 +1957,6 @@ int8_t inode_bmap(struct inode *inode, int block, kernel_lb_addr *bloc, uint32_t
printk(KERN_ERR "udf: inode_bmap: block < 0\n");
return -1;
}
- if (!inode)
- {
- printk(KERN_ERR "udf: inode_bmap: NULL inode\n");
- return -1;
- }
*extoffset = 0;
*elen = 0;