Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Librem5
linux
Commits
65b85ccc
Commit
65b85ccc
authored
Jul 30, 2014
by
Jaegeuk Kim
Browse files
f2fs: fix coding style
This patch fixes wrong coding style. Signed-off-by:
Jaegeuk Kim
<
jaegeuk@kernel.org
>
parent
33be828a
Changes
2
Hide whitespace changes
Inline
Side-by-side
fs/f2fs/f2fs.h
View file @
65b85ccc
...
...
@@ -781,7 +781,7 @@ static inline void *__bitmap_ptr(struct f2fs_sb_info *sbi, int flag)
if
(
flag
==
NAT_BITMAP
)
return
&
ckpt
->
sit_nat_version_bitmap
;
else
return
(
(
unsigned
char
*
)
ckpt
+
F2FS_BLKSIZE
)
;
return
(
unsigned
char
*
)
ckpt
+
F2FS_BLKSIZE
;
}
else
{
offset
=
(
flag
==
NAT_BITMAP
)
?
le32_to_cpu
(
ckpt
->
sit_ver_bitmap_bytesize
)
:
0
;
...
...
fs/f2fs/file.c
View file @
65b85ccc
...
...
@@ -231,8 +231,9 @@ static pgoff_t __get_first_dirty_index(struct address_space *mapping,
/* find first dirty page index */
pagevec_init
(
&
pvec
,
0
);
nr_pages
=
pagevec_lookup_tag
(
&
pvec
,
mapping
,
&
pgofs
,
PAGECACHE_TAG_DIRTY
,
1
);
pgofs
=
nr_pages
?
pvec
.
pages
[
0
]
->
index
:
LONG_MAX
;
nr_pages
=
pagevec_lookup_tag
(
&
pvec
,
mapping
,
&
pgofs
,
PAGECACHE_TAG_DIRTY
,
1
);
pgofs
=
nr_pages
?
pvec
.
pages
[
0
]
->
index
:
LONG_MAX
;
pagevec_release
(
&
pvec
);
return
pgofs
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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