diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2018-07-17 14:12:42 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:07 -0400 |
commit | 2ea9004864b918be34e742e38fb08d868600d020 (patch) | |
tree | ecfc0db344695321f68b80b96ca3b6465753d6b0 /fs/bcachefs/fs.h | |
parent | 4e1ec2cc0d82f1d4344e7b5a53229c9ccde8437d (diff) | |
download | lwn-2ea9004864b918be34e742e38fb08d868600d020.tar.gz lwn-2ea9004864b918be34e742e38fb08d868600d020.zip |
bcachefs: Fix mtime/ctime updates
Also make inode flags consistent with how the rest of the inode is
updated
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/fs.h')
-rw-r--r-- | fs/bcachefs/fs.h | 7 |
1 files changed, 3 insertions, 4 deletions
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); |