Commit e5b84f7a authored by Nikolay Borisov's avatar Nikolay Borisov Committed by David Sterba

btrfs: Remove root argument from btrfs_log_dentry_safe

Now that nothing uses the root arg of btrfs_log_dentry_safe it can be
safely removed. No functional changes.
Signed-off-by: default avatarNikolay Borisov <nborisov@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent f882274b
...@@ -2214,7 +2214,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) ...@@ -2214,7 +2214,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
} }
trans->sync = true; trans->sync = true;
ret = btrfs_log_dentry_safe(trans, root, dentry, start, end, &ctx); ret = btrfs_log_dentry_safe(trans, dentry, start, end, &ctx);
if (ret < 0) { if (ret < 0) {
/* Fallthrough and commit/free transaction. */ /* Fallthrough and commit/free transaction. */
ret = 1; ret = 1;
......
...@@ -5678,7 +5678,7 @@ static int btrfs_log_inode_parent(struct btrfs_trans_handle *trans, ...@@ -5678,7 +5678,7 @@ static int btrfs_log_inode_parent(struct btrfs_trans_handle *trans,
* data on disk. * data on disk.
*/ */
int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans, int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans,
struct btrfs_root *root, struct dentry *dentry, struct dentry *dentry,
const loff_t start, const loff_t start,
const loff_t end, const loff_t end,
struct btrfs_log_ctx *ctx) struct btrfs_log_ctx *ctx)
......
...@@ -65,7 +65,7 @@ int btrfs_free_log_root_tree(struct btrfs_trans_handle *trans, ...@@ -65,7 +65,7 @@ int btrfs_free_log_root_tree(struct btrfs_trans_handle *trans,
struct btrfs_fs_info *fs_info); struct btrfs_fs_info *fs_info);
int btrfs_recover_log_trees(struct btrfs_root *tree_root); int btrfs_recover_log_trees(struct btrfs_root *tree_root);
int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans, int btrfs_log_dentry_safe(struct btrfs_trans_handle *trans,
struct btrfs_root *root, struct dentry *dentry, struct dentry *dentry,
const loff_t start, const loff_t start,
const loff_t end, const loff_t end,
struct btrfs_log_ctx *ctx); struct btrfs_log_ctx *ctx);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment