btrfs: drop fs_info parameter from btrfs_run_delayed_refs
[sfrench/cifs-2.6.git] / fs / btrfs / inode.c
index 1e9cceeaf4c42017ea528071021fd26b2a152319..1a83b71685d1ab173eed816f41cd51516fe717b9 100644 (file)
@@ -4730,7 +4730,6 @@ delete:
                                if (updates) {
                                        trans->delayed_ref_updates = 0;
                                        ret = btrfs_run_delayed_refs(trans,
-                                                                  fs_info,
                                                                   updates * 2);
                                        if (ret && !err)
                                                err = ret;
@@ -4770,8 +4769,7 @@ error:
                unsigned long updates = trans->delayed_ref_updates;
                if (updates) {
                        trans->delayed_ref_updates = 0;
-                       ret = btrfs_run_delayed_refs(trans, fs_info,
-                                                    updates * 2);
+                       ret = btrfs_run_delayed_refs(trans, updates * 2);
                        if (ret && !err)
                                err = ret;
                }