From: Ben Marsh <bmarsh94@gmail.com>
To: clm@fb.com, jbacik@fb.com, dsterba@suse.com
Cc: linux-btrfs@vger.kernel.org
Subject: [PATCH] fs: btrfs: fixes a pass by reference issue in send.c
Date: Mon, 1 Feb 2016 12:53:57 +0100 [thread overview]
Message-ID: <20160201115350.GA9678@googlemail.com> (raw)
This patch fixes a pointer issue from passing a struct as a parameter
to the function btrfs_root_dec_send_in_progress.
Signed-off-by: Ben Marsh <bmarsh94@gmail.com>
---
fs/btrfs/send.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/btrfs/send.c b/fs/btrfs/send.c
index 63a6152..47ee63e 100644
--- a/fs/btrfs/send.c
+++ b/fs/btrfs/send.c
@@ -5911,7 +5911,7 @@ commit_trans:
return btrfs_commit_transaction(trans, sctx->send_root);
}
-static void btrfs_root_dec_send_in_progress(struct btrfs_root* root)
+static void btrfs_root_dec_send_in_progress(struct btrfs_root *root)
{
spin_lock(&root->root_item_lock);
root->send_in_progress--;
--
1.9.1
next reply other threads:[~2016-02-01 11:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-01 11:53 Ben Marsh [this message]
2016-02-01 12:05 ` [PATCH] fs: btrfs: fixes a pass by reference issue in send.c Filipe Manana
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160201115350.GA9678@googlemail.com \
--to=bmarsh94@gmail.com \
--cc=clm@fb.com \
--cc=dsterba@suse.com \
--cc=jbacik@fb.com \
--cc=linux-btrfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.