Commit [7747e6]  Maximize  Restore  History

jbd2: mark file-local functions as static

Mark functions as static in jbd2/journal.c because they are not used
outside this file.

This eliminates the following warning in jbd2/journal.c:
fs/jbd2/journal.c:125:5: warning: no previous prototype for ‘jbd2_verify_csum_type’ [-Wmissing-prototypes]
fs/jbd2/journal.c:146:5: warning: no previous prototype for ‘jbd2_superblock_csum_verify’ [-Wmissing-prototypes]
fs/jbd2/journal.c:154:6: warning: no previous prototype for ‘jbd2_superblock_csum_set’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <>
Signed-off-by: "Theodore Ts'o" <>
Reviewed-by: Josh Triplett <>
Reviewed-by: Darrick J. Wong <>

Rashika Kheria Rashika Kheria 2014-02-18

Theodore Ts'o Theodore Ts'o 2014-02-18

changed fs/jbd2/journal.c
fs/jbd2/journal.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks