• Boaz Harrosh's avatar
    exofs: exofs_file_fsync and exofs_file_flush correctness · b2848349
    Boaz Harrosh authored
    As per Christoph advise: no need to call filemap_write_and_wait().
    In exofs all metadata is at the inode so just writing the inode is
    all is needed. ->fsync implies this must be done synchronously.
    
    But now exofs_file_fsync can not be used by exofs_file_flush.
    vfs_fsync() should do that job correctly.
    
    FIXME: remove the sb_sync and fix that sb_update better.
    Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
    b2848349
file.c 2.76 KB