lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 03 Aug 2011 09:58:40 +0800 From: Wang Sheng-Hui <shhuiw@...il.com> To: "Theodore Ts'o" <tytso@....edu>, Jan Kara <jack@...e.cz>, linux-ext4@...r.kernel.org, linux-kernel@...r.kernel.org Subject: [PATCH] jbd/jbd2: add pointer type conversion on void *arg from void * to journal_t * explicitly in kjournald/kjournald2 The patch is against 3.0 The arg of kjournald/kjournald2 is void *, and points to type journal_t. We should convert it to journal_t * explicitly in the kjournald/kjournald2 function body. Signed-off-by: Wang Sheng-Hui <shhuiw@...il.com> --- fs/jbd/journal.c | 2 +- fs/jbd2/journal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/jbd/journal.c b/fs/jbd/journal.c index e2d4285..32956fd 100644 --- a/fs/jbd/journal.c +++ b/fs/jbd/journal.c @@ -116,7 +116,7 @@ static void commit_timeout(unsigned long __data) static int kjournald(void *arg) { - journal_t *journal = arg; + journal_t *journal = (journal_t *)arg; transaction_t *transaction; /* diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index 0dfa5b5..c4f4bfc 100644 --- a/fs/jbd2/journal.c +++ b/fs/jbd2/journal.c @@ -129,7 +129,7 @@ static void commit_timeout(unsigned long __data) static int kjournald2(void *arg) { - journal_t *journal = arg; + journal_t *journal = (journal_t *)arg; transaction_t *transaction; /* -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists