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

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)