X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=5fa1877114e418a4c25eccbb2a0b34756ec82631;hp=124e4c99d1163bb912449b0e8a9e88dd468d822a;hb=b21bef3bd5ef583feed45f0500a1058cbaa47136;hpb=edbbbac4c481931fa84174b861b6cbbca93fb13d;ds=sidebyside diff --git a/yaffs_guts.h b/yaffs_guts.h index 124e4c9..5fa1877 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -1040,6 +1040,11 @@ loff_t yaffs_oh_to_size(struct yaffs_dev *dev, struct yaffs_obj_hdr *oh, int do_endian); loff_t yaffs_max_file_size(struct yaffs_dev *dev); + +/* yaffs_wr_data_obj needs to be exposed to allow the cache to access it. */ +int yaffs_wr_data_obj(struct yaffs_obj *in, int inode_chunk, + const u8 *buffer, int n_bytes, int use_reserve); + /* * Debug function to count number of blocks in each state * NB Needs to be called with correct number of integers