Now cont_write_begin() support DONTCACHE mode, let's set FOP_DONTCACHE flag to enable uncached buffer io support for hfs. Signed-off-by: Yangtao Li --- fs/hfs/inode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index 8409e4412366..a62f45e9745d 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c @@ -695,6 +695,7 @@ static const struct file_operations hfs_file_operations = { .fsync = hfs_file_fsync, .open = hfs_file_open, .release = hfs_file_release, + .fop_flags = FOP_DONTCACHE, }; static const struct inode_operations hfs_file_inode_operations = { -- 2.48.1