Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f3b64b57
Commit
f3b64b57
authored
Aug 31, 2019
by
Andreas Gruenbacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gfs2: Some whitespace cleanups
Signed-off-by:
Andreas Gruenbacher
<
agruenba@redhat.com
>
parent
098b9c14
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
fs/gfs2/aops.c
fs/gfs2/aops.c
+1
-1
fs/gfs2/file.c
fs/gfs2/file.c
+1
-0
fs/gfs2/quota.c
fs/gfs2/quota.c
+1
-1
No files found.
fs/gfs2/aops.c
View file @
f3b64b57
...
...
@@ -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
* 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
)
zero_user_segment
(
page
,
offset
,
PAGE_SIZE
);
...
...
fs/gfs2/file.c
View file @
f3b64b57
...
...
@@ -933,6 +933,7 @@ static int fallocate_chunk(struct inode *inode, loff_t offset, loff_t len,
brelse
(
dibh
);
return
error
;
}
/**
* calc_max_reserv() - Reverse of write_calc_reserv. Given a number of
* blocks, determine how many bytes can be written.
...
...
fs/gfs2/quota.c
View file @
f3b64b57
...
...
@@ -1273,7 +1273,7 @@ int gfs2_quota_sync(struct super_block *sb, int type)
{
struct
gfs2_sbd
*
sdp
=
sb
->
s_fs_info
;
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
x
;
int
error
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment