X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=fs%2Fncpfs%2Ffile.c;h=64a326418aa272dbda0211e892ddb32b7217eb81;hb=02c24a82187d5a628c68edfe71ae60dc135cd178;hp=0ed65e0c3dfe29bddae78c9dcf171968c6e998dc;hpb=6a7f6ec9512970874fa9fc883ea44d77d0f287c2;p=firefly-linux-kernel-4.4.55.git diff --git a/fs/ncpfs/file.c b/fs/ncpfs/file.c index 0ed65e0c3dfe..64a326418aa2 100644 --- a/fs/ncpfs/file.c +++ b/fs/ncpfs/file.c @@ -20,9 +20,9 @@ #include "ncp_fs.h" -static int ncp_fsync(struct file *file, int datasync) +static int ncp_fsync(struct file *file, loff_t start, loff_t end, int datasync) { - return 0; + return filemap_write_and_wait_range(file->f_mapping, start, end); } /*