Miklos Szeredi a9c2d1e82f fuse: fix fsync on directory
Commit ab2257e9941b ("fuse: reduce size of struct fuse_inode") moved parts
of fields related to writeback on regular file and to directory caching
into a union.  However fuse_fsync_common() called from fuse_dir_fsync()
touches some writeback related fields, resulting in a crash.

Move writeback related parts from fuse_fsync_common() to fuse_fysnc().

Reported-by: Brett Girton <btgirton@gmail.com>
Tested-by: Brett Girton <btgirton@gmail.com>
Fixes: ab2257e9941b ("fuse: reduce size of struct fuse_inode")
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2018-12-03 10:14:43 +01:00
..
2018-09-28 16:43:22 +02:00
2018-12-03 10:14:43 +01:00
2018-12-03 10:14:43 +01:00
2018-12-03 10:14:43 +01:00
2016-10-01 07:32:32 +02:00
2018-09-28 16:43:23 +02:00