patch-1.3.100 linux/fs/fat/dir.c

Next file: linux/fs/fat/file.c
Previous file: linux/fs/fat/cache.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.99/linux/fs/fat/dir.c linux/fs/fat/dir.c
@@ -295,7 +295,8 @@
 		}
 		ino = fat_get_entry(inode,&filp->f_pos,&bh,&de);	
 	}
-	if (bh) brelse(bh);
+	if (bh)
+		fat_brelse(sb, bh);
 	if (unicode) {
 		free_page((unsigned long) unicode);
 	}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this