patch-2.4.2 linux/fs/ext2/namei.c
Next file: linux/fs/fat/buffer.c
Previous file: linux/fs/exec.c
Back to the patch index
Back to the overall index
-  Lines: 8
-  Date:
Thu Feb 15 12:32:21 2001
-  Orig file: 
v2.4.1/linux/fs/ext2/namei.c
-  Orig date: 
Fri Dec  8 17:35:54 2000
diff -u --recursive --new-file v2.4.1/linux/fs/ext2/namei.c linux/fs/ext2/namei.c
@@ -235,6 +235,7 @@
 				return retval;
 			if (dir->i_size <= offset) {
 				if (dir->i_size == 0) {
+					brelse(bh);
 					return -ENOENT;
 				}
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)