Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* [PATCH] btrfs: Remove noinline attribute from wait_for_commit
@ 2020-11-24 14:45 Nikolay Borisov
  2020-11-24 15:39 ` David Sterba
  0 siblings, 1 reply; 5+ messages in thread
From: Nikolay Borisov @ 2020-11-24 14:45 UTC (permalink / raw)
  To: linux-btrfs; +Cc: Nikolay Borisov

The function is a plain wrapper that noinline makes no sense.

Signed-off-by: Nikolay Borisov <nborisov@suse.com>
---
 fs/btrfs/transaction.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index e5a5c3604a9b..fd4293cf69cf 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -829,7 +829,7 @@ btrfs_attach_transaction_barrier(struct btrfs_root *root)
 }

 /* wait for a transaction commit to be fully complete */
-static noinline void wait_for_commit(struct btrfs_transaction *commit)
+static void wait_for_commit(struct btrfs_transaction *commit)
 {
 	wait_event(commit->commit_wait, commit->state == TRANS_STATE_COMPLETED);
 }
--
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-11-25 11:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-24 14:45 [PATCH] btrfs: Remove noinline attribute from wait_for_commit Nikolay Borisov
2020-11-24 15:39 ` David Sterba
2020-11-24 15:42   ` Nikolay Borisov
2020-11-24 16:05     ` David Sterba
2020-11-25 11:51       ` David Sterba

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox