Now cont_write_begin() support DONTCACHE mode, let's set FOP_DONTCACHE flag to enable uncached buffer io support for hfsplus. Signed-off-by: Yangtao Li --- fs/hfsplus/inode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/hfsplus/inode.c b/fs/hfsplus/inode.c index 26cc150856b9..b790ffe92019 100644 --- a/fs/hfsplus/inode.c +++ b/fs/hfsplus/inode.c @@ -372,6 +372,7 @@ static const struct file_operations hfsplus_file_operations = { .open = hfsplus_file_open, .release = hfsplus_file_release, .unlocked_ioctl = hfsplus_ioctl, + .fop_flags = FOP_DONTCACHE, }; struct inode *hfsplus_new_inode(struct super_block *sb, struct inode *dir, -- 2.48.1