diff options
author | Nikolay Borisov <nborisov@suse.com> | 2018-02-27 16:37:18 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-26 15:09:42 +0200 |
commit | e5b84f7a258a8344947e8b955b8c2648008d8ccc (patch) | |
tree | 338674b9fe3ef5604078a330fe65f90ee160d4f3 /fs/btrfs/file.c | |
parent | btrfs: Remove root arg from btrfs_log_inode_parent (diff) | |
download | linux-e5b84f7a258a8344947e8b955b8c2648008d8ccc.tar.xz linux-e5b84f7a258a8344947e8b955b8c2648008d8ccc.zip |
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: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/file.c')
-rw-r--r-- | fs/btrfs/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file.c b/fs/btrfs/file.c index a335e2e6c84d..8f425c64d75f 100644 --- a/fs/btrfs/file.c +++ b/fs/btrfs/file.c @@ -2214,7 +2214,7 @@ int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync) } 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) { /* Fallthrough and commit/free transaction. */ ret = 1; |