projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b9c7ed
)
[PATCH] udf: remove bogus inode == NULL check in inode_bmap
author
Christoph Hellwig
<hch@lst.de>
Sun, 8 Jan 2006 09:02:33 +0000
(
01:02
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:13:51 +0000
(20:13 -0800)
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>
fs/udf/inode.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/udf/inode.c
b/fs/udf/inode.c
index 4014f17d382e70ddc3662521515347748af01910..395e582ee5425cab1ad65177d5f8c02bedc9e932 100644
(file)
--- 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;