patch-2.4.14 linux/fs/cramfs/inode.c

Next file: linux/fs/cramfs/uncompress.c
Previous file: linux/fs/cramfs/inflate/zutil.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/fs/cramfs/inode.c linux/fs/cramfs/inode.c
@@ -175,7 +175,7 @@
 		struct buffer_head * bh = bh_array[i];
 		if (bh) {
 			memcpy(data, bh->b_data, PAGE_CACHE_SIZE);
-			bforget(bh);
+			brelse(bh);
 		} else
 			memset(data, 0, PAGE_CACHE_SIZE);
 		data += PAGE_CACHE_SIZE;
@@ -446,3 +446,5 @@
 
 module_init(init_cramfs_fs)
 module_exit(exit_cramfs_fs)
+MODULE_LICENSE("GPL");
+

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)