From 2ea9004864b918be34e742e38fb08d868600d020 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 17 Jul 2018 14:12:42 -0400 Subject: bcachefs: Fix mtime/ctime updates Also make inode flags consistent with how the rest of the inode is updated Signed-off-by: Kent Overstreet --- fs/bcachefs/fs.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'fs/bcachefs/fs.h') diff --git a/fs/bcachefs/fs.h b/fs/bcachefs/fs.h index e8dd566285fc..4fdc11762cd7 100644 --- a/fs/bcachefs/fs.h +++ b/fs/bcachefs/fs.h @@ -2,6 +2,7 @@ #ifndef _BCACHEFS_FS_H #define _BCACHEFS_FS_H +#include "inode.h" #include "opts.h" #include "str_hash.h" #include "quota_types.h" @@ -81,10 +82,8 @@ int __must_check bch2_write_inode_trans(struct btree_trans *, struct bch_inode_info *, struct bch_inode_unpacked *, inode_set_fn, void *); -int __must_check __bch2_write_inode(struct bch_fs *, struct bch_inode_info *, - inode_set_fn, void *, unsigned); -int __must_check bch2_write_inode(struct bch_fs *, - struct bch_inode_info *); +int __must_check bch2_write_inode(struct bch_fs *, struct bch_inode_info *, + inode_set_fn, void *, unsigned); void bch2_vfs_exit(void); int bch2_vfs_init(void); -- cgit v1.2.3