diff options
author | Justin Husted <sigstop@gmail.com> | 2019-12-28 15:37:42 -0800 |
---|---|---|
committer | Justin Husted <sigstop@gmail.com> | 2019-12-28 15:54:34 -0800 |
commit | 17a7161dbe14489c424eab4885dd706ab77dc13f (patch) | |
tree | fe0f17b6e0dd9e9618ce47af093166bb705677cf | |
parent | 82c7e8ff35ac0c501290cd4779e8ab2c553aa09d (diff) |
bcachefs-tools: Fix build break with FUSE.
bch2_link_trans() in the filesystem side was fixed to do timestamps
properly, but the change to the tools call got lost.
Signed-off-by: Justin Husted <sigstop@gmail.com>
-rw-r--r-- | cmd_fusemount.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd_fusemount.c b/cmd_fusemount.c index 4e4c24cc..5418a556 100644 --- a/cmd_fusemount.c +++ b/cmd_fusemount.c @@ -341,7 +341,7 @@ static void bcachefs_fuse_link(fuse_req_t req, fuse_ino_t inum, fuse_ino_t newparent, const char *newname) { struct bch_fs *c = fuse_req_userdata(req); - struct bch_inode_unpacked inode_u; + struct bch_inode_unpacked dir_u, inode_u; struct qstr qstr = QSTR(newname); int ret; @@ -352,7 +352,7 @@ static void bcachefs_fuse_link(fuse_req_t req, fuse_ino_t inum, ret = bch2_trans_do(c, NULL, BTREE_INSERT_ATOMIC, bch2_link_trans(&trans, newparent, - inum, &inode_u, &qstr)); + inum, &dir_u, &inode_u, &qstr)); if (!ret) { struct fuse_entry_param e = inode_to_entry(c, &inode_u); |