X-Git-Url: https://yaffs.net/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_vfs_single.c;fp=yaffs_vfs_single.c;h=ba6f3d6eb8d9f54c6bc2e8788864eef4143c654f;hp=19ced5f021f7ce7e450f2dad07bf5bb9012f927a;hb=07353dd87a46afc753441028af8f5e8629b13bdc;hpb=1658295946bc589b4d351e75a59bd697630cd9e1 diff --git a/yaffs_vfs_single.c b/yaffs_vfs_single.c index 19ced5f..ba6f3d6 100644 --- a/yaffs_vfs_single.c +++ b/yaffs_vfs_single.c @@ -436,7 +436,8 @@ static int yaffs_unlink(struct inode *dir, struct dentry *dentry) return -ENOTEMPTY; } -static int yaffs_sync_object(struct file *file, loff_t start, loff_t end, int datasync) +static int yaffs_sync_object(struct file *file, + loff_t start, loff_t end, int datasync) { struct yaffs_obj *obj; @@ -1219,7 +1220,8 @@ static int yaffs_writepage(struct page *page, struct writeback_control *wbc) (int)obj->variant.file_variant.file_size, (int)inode->i_size); n_written = yaffs_wr_file(obj, buffer, - ((loff_t)page->index) << PAGE_CACHE_SHIFT, n_bytes, 0); + ((loff_t)page->index) << PAGE_CACHE_SHIFT, + n_bytes, 0); yaffs_touch_super(dev); @@ -2374,9 +2376,9 @@ static char *yaffs_dump_dev_part0(char *buf, struct yaffs_dev *dev) static char *yaffs_dump_dev_part1(char *buf, struct yaffs_dev *dev) { buf += sprintf(buf, "max file size......... %lld\n", - (long long) yaffs_max_file_size(dev)); + (long long) yaffs_max_file_size(dev)); buf += sprintf(buf, "data_bytes_per_chunk.. %d\n", - dev->data_bytes_per_chunk); + dev->data_bytes_per_chunk); buf += sprintf(buf, "chunk_grp_bits........ %d\n", dev->chunk_grp_bits); buf += sprintf(buf, "chunk_grp_size........ %d\n", dev->chunk_grp_size); buf +=