[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220121071205.100648-2-joseph.qi@linux.alibaba.com>
Date: Fri, 21 Jan 2022 15:12:04 +0800
From: Joseph Qi <joseph.qi@...ux.alibaba.com>
To: akpm@...ux-foundation.org, tytso@....edu, adilger.kernel@...ger.ca
Cc: gautham.ananthakrishna@...cle.com, ocfs2-devel@....oracle.com,
linux-ext4@...r.kernel.org
Subject: [PATCH 1/2] jbd2: export jbd2_journal_[grab|put]_journal_head
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@...ux.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
Powered by blists - more mailing lists