From e5b84f7a258a8344947e8b955b8c2648008d8ccc Mon Sep 17 00:00:00 2001 From: Nikolay Borisov Date: Tue, 27 Feb 2018 17:37:18 +0200 Subject: 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 Signed-off-by: David Sterba --- fs/btrfs/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fs/btrfs/file.c') 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; -- cgit v1.2.3