diff options
| author | 2006-01-08 01:02:33 -0800 | |
|---|---|---|
| committer | 2006-01-08 20:13:51 -0800 | |
| commit | b8b0af24353eafadf58a0889999700e43f135aad (patch) | |
| tree | e3ee61aaf3326f9e096b16a144d53d7b4708e4e3 /fs/udf/inode.c | |
| parent | [PATCH] use ptrace_get_task_struct in various places (diff) | |
| download | wireguard-linux-b8b0af24353eafadf58a0889999700e43f135aad.tar.xz wireguard-linux-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/udf/inode.c')
| -rw-r--r-- | fs/udf/inode.c | 5 |
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; |
