All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joseph Qi <joseph.qi@linux.alibaba.com>
To: akpm@linux-foundation.org, tytso@mit.edu, adilger.kernel@dilger.ca
Cc: gautham.ananthakrishna@oracle.com, ocfs2-devel@oss.oracle.com,
	linux-ext4@vger.kernel.org
Subject: [PATCH 1/2] jbd2: export jbd2_journal_[grab|put]_journal_head
Date: Fri, 21 Jan 2022 15:12:04 +0800	[thread overview]
Message-ID: <20220121071205.100648-2-joseph.qi@linux.alibaba.com> (raw)
In-Reply-To: <20220121071205.100648-1-joseph.qi@linux.alibaba.com>

This exports symbols jbd2_journal_[grab|put]_journal_head, which will be
used outside modules, e.g. ocfs2.

Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
---
 fs/jbd2/journal.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 0b86a4365b66..e9f0c72f6664 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -2972,6 +2972,7 @@ struct journal_head *jbd2_journal_grab_journal_head(struct buffer_head *bh)
 	jbd_unlock_bh_journal_head(bh);
 	return jh;
 }
+EXPORT_SYMBOL(jbd2_journal_grab_journal_head);
 
 static void __journal_remove_journal_head(struct buffer_head *bh)
 {
@@ -3024,6 +3025,7 @@ void jbd2_journal_put_journal_head(struct journal_head *jh)
 		jbd_unlock_bh_journal_head(bh);
 	}
 }
+EXPORT_SYMBOL(jbd2_journal_put_journal_head);
 
 /*
  * Initialize jbd inode head
-- 
2.19.1.6.gb485710b


WARNING: multiple messages have this Message-ID (diff)
From: Joseph Qi via Ocfs2-devel <ocfs2-devel@oss.oracle.com>
To: akpm@linux-foundation.org, tytso@mit.edu, adilger.kernel@dilger.ca
Cc: linux-ext4@vger.kernel.org, gautham.ananthakrishna@oracle.com,
	ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH 1/2] jbd2: export jbd2_journal_[grab|put]_journal_head
Date: Fri, 21 Jan 2022 15:12:04 +0800	[thread overview]
Message-ID: <20220121071205.100648-2-joseph.qi@linux.alibaba.com> (raw)
In-Reply-To: <20220121071205.100648-1-joseph.qi@linux.alibaba.com>

This exports symbols jbd2_journal_[grab|put]_journal_head, which will be
used outside modules, e.g. ocfs2.

Signed-off-by: Joseph Qi <joseph.qi@linux.alibaba.com>
---
 fs/jbd2/journal.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c
index 0b86a4365b66..e9f0c72f6664 100644
--- a/fs/jbd2/journal.c
+++ b/fs/jbd2/journal.c
@@ -2972,6 +2972,7 @@ struct journal_head *jbd2_journal_grab_journal_head(struct buffer_head *bh)
 	jbd_unlock_bh_journal_head(bh);
 	return jh;
 }
+EXPORT_SYMBOL(jbd2_journal_grab_journal_head);
 
 static void __journal_remove_journal_head(struct buffer_head *bh)
 {
@@ -3024,6 +3025,7 @@ void jbd2_journal_put_journal_head(struct journal_head *jh)
 		jbd_unlock_bh_journal_head(bh);
 	}
 }
+EXPORT_SYMBOL(jbd2_journal_put_journal_head);
 
 /*
  * Initialize jbd inode head
-- 
2.19.1.6.gb485710b


_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel

  reply	other threads:[~2022-01-21  7:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-21  7:12 [PATCH 0/2] ocfs2: fix a deadlock case Joseph Qi
2022-01-21  7:12 ` [Ocfs2-devel] " Joseph Qi via Ocfs2-devel
2022-01-21  7:12 ` Joseph Qi [this message]
2022-01-21  7:12   ` [Ocfs2-devel] [PATCH 1/2] jbd2: export jbd2_journal_[grab|put]_journal_head Joseph Qi via Ocfs2-devel
2022-01-21  7:12 ` [PATCH 2/2] ocfs2: fix a deadlock when commit trans Joseph Qi
2022-01-21  7:12   ` [Ocfs2-devel] " Joseph Qi via Ocfs2-devel
2022-01-23  5:31   ` Gautham Ananthakrishna
2022-01-23  5:31     ` [Ocfs2-devel] " Gautham Ananthakrishna via Ocfs2-devel
2022-01-24  2:37     ` Joseph Qi
2022-01-24  2:37       ` [Ocfs2-devel] " Joseph Qi via Ocfs2-devel
2022-01-27 12:46       ` Gautham Ananthakrishna
2022-01-27 12:46         ` [Ocfs2-devel] " Gautham Ananthakrishna via Ocfs2-devel

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=20220121071205.100648-2-joseph.qi@linux.alibaba.com \
    --to=joseph.qi@linux.alibaba.com \
    --cc=adilger.kernel@dilger.ca \
    --cc=akpm@linux-foundation.org \
    --cc=gautham.ananthakrishna@oracle.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=ocfs2-devel@oss.oracle.com \
    --cc=tytso@mit.edu \
    /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.