kernel: add missing config symbol
[15.05/openwrt.git] / target / linux / generic / patches-3.18 / 501-yaffs-add-missing-flush-arguments.patch
1 --- a/fs/yaffs2/yaffs_vfs.c
2 +++ b/fs/yaffs2/yaffs_vfs.c
3 @@ -738,7 +738,7 @@ static int yaffs_file_flush(struct file
4  
5         yaffs_gross_lock(dev);
6  
7 -       yaffs_flush_file(obj, 1, 0);
8 +       yaffs_flush_file(obj, 1, 0, 1);
9  
10         yaffs_gross_unlock(dev);
11  
12 @@ -768,7 +768,7 @@ static int yaffs_sync_object(struct file
13         yaffs_trace(YAFFS_TRACE_OS | YAFFS_TRACE_SYNC,
14                 "yaffs_sync_object");
15         yaffs_gross_lock(dev);
16 -       yaffs_flush_file(obj, 1, datasync);
17 +       yaffs_flush_file(obj, 1, datasync, 1);
18         yaffs_gross_unlock(dev);
19         return 0;
20  }
21 @@ -2187,7 +2187,7 @@ static void yaffs_flush_inodes(struct su
22                         yaffs_trace(YAFFS_TRACE_OS,
23                                 "flushing obj %d",
24                                 obj->obj_id);
25 -                       yaffs_flush_file(obj, 1, 0);
26 +                       yaffs_flush_file(obj, 1, 0, 1);
27                 }
28         }
29  }
30 @@ -2200,7 +2200,7 @@ static void yaffs_flush_super(struct sup
31  
32         yaffs_flush_inodes(sb);
33         yaffs_update_dirty_dirs(dev);
34 -       yaffs_flush_whole_cache(dev);
35 +       yaffs_flush_whole_cache(dev, 1);
36         if (do_checkpoint)
37                 yaffs_checkpoint_save(dev);
38  }