diff options
author | Eric Sandeen <sandeen@redhat.com> | 2010-10-27 21:30:12 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2010-10-27 21:30:12 -0400 |
commit | bbd08344e3df8c7c1d7aa04bc0c8c9367806e12d (patch) | |
tree | 6441a113660deb3bbe1795f5b03b1c11b9e18fda /fs | |
parent | 27ee40df2b17c84aa7855907df12befe6869b7a7 (diff) |
ext4: tidy up a void argument in inode.c
This doesn't fix anything at all, it just removes a vestige
of prior use from __mpage_da_writepage()
__mpage_da_writepage() had a *void argument leftover from
its previous life as a callback; make it reflect the actual type.
Fixing this up makes it slightly more obvious to read, and
enables proper typechecking.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/ext4/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c index 077c3c9c432e..6671fcbb5293 100644 --- a/fs/ext4/inode.c +++ b/fs/ext4/inode.c | |||
@@ -2424,9 +2424,9 @@ static int ext4_bh_delay_or_unwritten(handle_t *handle, struct buffer_head *bh) | |||
2424 | * The function finds extents of pages and scan them for all blocks. | 2424 | * The function finds extents of pages and scan them for all blocks. |
2425 | */ | 2425 | */ |
2426 | static int __mpage_da_writepage(struct page *page, | 2426 | static int __mpage_da_writepage(struct page *page, |
2427 | struct writeback_control *wbc, void *data) | 2427 | struct writeback_control *wbc, |
2428 | struct mpage_da_data *mpd) | ||
2428 | { | 2429 | { |
2429 | struct mpage_da_data *mpd = data; | ||
2430 | struct inode *inode = mpd->inode; | 2430 | struct inode *inode = mpd->inode; |
2431 | struct buffer_head *bh, *head; | 2431 | struct buffer_head *bh, *head; |
2432 | sector_t logical; | 2432 | sector_t logical; |