[Devel] [RH7 PATCH 1/3] compile fix for ext4-add-mfsync-support

Konstantin Khorenko khorenko at virtuozzo.com
Tue Jul 28 08:02:37 PDT 2015


Applied all 3 them, thank you.

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team

On 07/21/2015 03:34 PM, Dmitry Monakhov wrote:
> ext4_flush_unwritten_io was removed in rh7-3.10.0-229.7.2
> 
> https://jira.sw.ru/browse/PSBM-34909
> 
> Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
> ---
>  fs/ext4/fsync.c |    3 ---
>  1 files changed, 0 insertions(+), 3 deletions(-)
> 
> diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c
> index 99582b8..8235438 100644
> --- a/fs/ext4/fsync.c
> +++ b/fs/ext4/fsync.c
> @@ -209,9 +209,6 @@ int ext4_sync_files(struct file **files, unsigned int *flags, unsigned int nr_fi
>  		}
>  
>  		mutex_lock(&inode->i_mutex);
> -		err2 = ext4_flush_unwritten_io(inode);
> -		if (!err || err2 == -EIO)
> -			err = err2;
>  		force_commit  |= ext4_should_journal_data(inode);
>  		datawriteback |= ext4_should_writeback_data(inode);
>  		tid = datasync ? ei->i_datasync_tid : ei->i_sync_tid;
> 



More information about the Devel mailing list