* [PATCH] udf: remove bogus inode == NULL check in inode_bmap
@ 2005-11-11 9:28 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2005-11-11 9:28 UTC (permalink / raw)
To: akpm; +Cc: linux-fsdevel
inode can never be NULL when calling this function. Replaces
udf-fix-issues-reported-by-coverity-in-inodec.patch in -mm.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: linux-2.6/fs/udf/inode.c
===================================================================
--- linux-2.6.orig/fs/udf/inode.c 2005-10-31 12:23:59.000000000 +0100
+++ linux-2.6/fs/udf/inode.c 2005-11-11 01:44:02.000000000 +0100
@@ -1962,11 +1962,6 @@
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-11-11 9:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-11 9:28 [PATCH] udf: remove bogus inode == NULL check in inode_bmap Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).