patch-2.4.0-test5 linux/fs/hpfs/buffer.c

Next file: linux/fs/isofs/inode.c
Previous file: linux/fs/file_table.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test4/linux/fs/hpfs/buffer.c linux/fs/hpfs/buffer.c
@@ -206,7 +206,7 @@
  bail1:
 	brelse(qbh->bh[0]);
  bail0:
-	kfree_s(data, 2048);
+	kfree(data);
 	printk("HPFS: hpfs_map_4sectors: read error\n");
  bail:
 	return NULL;
@@ -251,7 +251,7 @@
 	brelse(qbh->bh[2]);
 	brelse(qbh->bh[1]);
 	brelse(qbh->bh[0]);
-	kfree_s(qbh->data, 2048);
+	kfree(qbh->data);
 }	
 
 void hpfs_mark_4buffers_dirty(struct quad_buffer_head *qbh)

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