diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-03-13 12:01:51 -0500 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-03-13 20:27:27 -0500 |
commit | 6c477d44a7dad43a2783b4dea7f4ca3882d77126 (patch) | |
tree | 7a0e051ddbb9c2c0f11910983efe3d98c8bcf8c5 /fs/nilfs2 | |
parent | 57d54889cd00db2752994b389ba714138652e60c (diff) |
nilfs2: fix discrepancy in use of static specifier
Two segbuf functions, nilfs_segbuf_write and nilfs_segbuf_wait, are
declared with the static storage class specifier, but their
implementations are not.
This fixes the discrepancy.
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/segbuf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nilfs2/segbuf.c b/fs/nilfs2/segbuf.c index ab56fe44e377..68b08f21c648 100644 --- a/fs/nilfs2/segbuf.c +++ b/fs/nilfs2/segbuf.c | |||
@@ -470,8 +470,8 @@ static int nilfs_segbuf_submit_bh(struct nilfs_segment_buffer *segbuf, | |||
470 | * | 470 | * |
471 | * %-ENOMEM - Insufficient memory available. | 471 | * %-ENOMEM - Insufficient memory available. |
472 | */ | 472 | */ |
473 | int nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, | 473 | static int nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, |
474 | struct the_nilfs *nilfs) | 474 | struct the_nilfs *nilfs) |
475 | { | 475 | { |
476 | struct nilfs_write_info wi; | 476 | struct nilfs_write_info wi; |
477 | struct buffer_head *bh; | 477 | struct buffer_head *bh; |
@@ -514,7 +514,7 @@ int nilfs_segbuf_write(struct nilfs_segment_buffer *segbuf, | |||
514 | * | 514 | * |
515 | * %-EIO - I/O error | 515 | * %-EIO - I/O error |
516 | */ | 516 | */ |
517 | int nilfs_segbuf_wait(struct nilfs_segment_buffer *segbuf) | 517 | static int nilfs_segbuf_wait(struct nilfs_segment_buffer *segbuf) |
518 | { | 518 | { |
519 | int err = 0; | 519 | int err = 0; |
520 | 520 | ||