Displaying 2 results from an estimated 2 matches for "ext3_delete_entry".
2005 Dec 01
0
Errors reported by Coverity in ext3.
...ould like
to know if there should be error handling in these cases.  The
places where the return value is not checked are(in the current
kernel version):
fs/ext3/inode.c          ext3_clear_blocks             1829
fs/ext3/namei.c          ext3_append                     63
fs/ext3/namei.c          ext3_delete_entry             1585
fs/ext3/namei.c          ext3_mkdir                    1745
fs/ext3/namei.c          ext3_rename                   2273
fs/ext3/namei.c          ext3_rename                   2328
I have attached the full text of errors reported by Coverity on 
kernel version 2.6.13, for reference...
2003 Jan 16
0
[PATCH] Using qstr in ext3_get_parent()
...(!new_inode) {
 			brelse (new_bh);
@@ -2253,7 +2250,7 @@
 		struct buffer_head *old_bh2;
 		struct ext3_dir_entry_2 *old_de2;
 		
-		old_bh2 = ext3_find_entry(old_dentry, &old_de2);
+		old_bh2 = ext3_find_entry(old_dir, &old_dentry->d_name, &old_de2);
 		if (old_bh2) {
 			retval = ext3_delete_entry(handle, old_dir,
 						   old_de2, old_bh2);
-- 
Maneesh Soni
IBM Linux Technology Center, 
IBM India Software Lab, Bangalore.
Phone: +91-80-5044999 email: maneesh@in.ibm.com
http://lse.sourceforge.net/