gfs2: Some whitespace cleanups
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
This commit is contained in:
@@ -133,7 +133,7 @@ static int gfs2_write_full_page(struct page *page, get_block_t *get_block,
|
|||||||
* the page size, the remaining memory is zeroed when mapped, and
|
* the page size, the remaining memory is zeroed when mapped, and
|
||||||
* writes to that region are not written out to the file."
|
* writes to that region are not written out to the file."
|
||||||
*/
|
*/
|
||||||
offset = i_size & (PAGE_SIZE-1);
|
offset = i_size & (PAGE_SIZE - 1);
|
||||||
if (page->index == end_index && offset)
|
if (page->index == end_index && offset)
|
||||||
zero_user_segment(page, offset, PAGE_SIZE);
|
zero_user_segment(page, offset, PAGE_SIZE);
|
||||||
|
|
||||||
|
@@ -933,6 +933,7 @@ out:
|
|||||||
brelse(dibh);
|
brelse(dibh);
|
||||||
return error;
|
return error;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* calc_max_reserv() - Reverse of write_calc_reserv. Given a number of
|
* calc_max_reserv() - Reverse of write_calc_reserv. Given a number of
|
||||||
* blocks, determine how many bytes can be written.
|
* blocks, determine how many bytes can be written.
|
||||||
|
@@ -1273,7 +1273,7 @@ int gfs2_quota_sync(struct super_block *sb, int type)
|
|||||||
{
|
{
|
||||||
struct gfs2_sbd *sdp = sb->s_fs_info;
|
struct gfs2_sbd *sdp = sb->s_fs_info;
|
||||||
struct gfs2_quota_data **qda;
|
struct gfs2_quota_data **qda;
|
||||||
unsigned int max_qd = PAGE_SIZE/sizeof(struct gfs2_holder);
|
unsigned int max_qd = PAGE_SIZE / sizeof(struct gfs2_holder);
|
||||||
unsigned int num_qd;
|
unsigned int num_qd;
|
||||||
unsigned int x;
|
unsigned int x;
|
||||||
int error = 0;
|
int error = 0;
|
||||||
|
Reference in New Issue
Block a user