diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-09 08:03:15 -0500 |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2014-04-03 04:40:55 -0400 |
commit | 0961f02a3799e1f0aeb3185567185a80265ef36b (patch) | |
tree | 20335bd33e8196b160fd53fd0733695441180da2 /fs/exofs | |
parent | af8d0cc0d2271f45b0967578f9310b3ee9b9082a (diff) |
fs: Mark functions as static in exofs/ore_raid.c
Mark functions as static in exofs/ore_raid.c because they are not used
outside this file.
This also eliminates the following warning in exofs/ore_raid.c:
fs/exofs/ore_raid.c:24:14: warning: no previous prototype for _raid_page_alloc [-Wmissing-prototypes]
fs/exofs/ore_raid.c:29:6: warning: no previous prototype for _raid_page_free [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'fs/exofs')
-rw-r--r-- | fs/exofs/ore_raid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exofs/ore_raid.c b/fs/exofs/ore_raid.c index 7682b970d0f1..4e2c032ab8a1 100644 --- a/fs/exofs/ore_raid.c +++ b/fs/exofs/ore_raid.c | |||
@@ -21,12 +21,12 @@ | |||
21 | #undef ORE_DBGMSG2 | 21 | #undef ORE_DBGMSG2 |
22 | #define ORE_DBGMSG2 ORE_DBGMSG | 22 | #define ORE_DBGMSG2 ORE_DBGMSG |
23 | 23 | ||
24 | struct page *_raid_page_alloc(void) | 24 | static struct page *_raid_page_alloc(void) |
25 | { | 25 | { |
26 | return alloc_page(GFP_KERNEL); | 26 | return alloc_page(GFP_KERNEL); |
27 | } | 27 | } |
28 | 28 | ||
29 | void _raid_page_free(struct page *p) | 29 | static void _raid_page_free(struct page *p) |
30 | { | 30 | { |
31 | __free_page(p); | 31 | __free_page(p); |
32 | } | 32 | } |