Commit 65b85ccce03f17b3098273192b20885f3fead820
1 parent
33be828ada
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
f2fs: fix coding style
This patch fixes wrong coding style. Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Showing 2 changed files with 4 additions and 3 deletions Side-by-side Diff
fs/f2fs/f2fs.h
... | ... | @@ -781,7 +781,7 @@ |
781 | 781 | if (flag == NAT_BITMAP) |
782 | 782 | return &ckpt->sit_nat_version_bitmap; |
783 | 783 | else |
784 | - return ((unsigned char *)ckpt + F2FS_BLKSIZE); | |
784 | + return (unsigned char *)ckpt + F2FS_BLKSIZE; | |
785 | 785 | } else { |
786 | 786 | offset = (flag == NAT_BITMAP) ? |
787 | 787 | le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; |
fs/f2fs/file.c
... | ... | @@ -231,8 +231,9 @@ |
231 | 231 | |
232 | 232 | /* find first dirty page index */ |
233 | 233 | pagevec_init(&pvec, 0); |
234 | - nr_pages = pagevec_lookup_tag(&pvec, mapping, &pgofs, PAGECACHE_TAG_DIRTY, 1); | |
235 | - pgofs = nr_pages ? pvec.pages[0]->index: LONG_MAX; | |
234 | + nr_pages = pagevec_lookup_tag(&pvec, mapping, &pgofs, | |
235 | + PAGECACHE_TAG_DIRTY, 1); | |
236 | + pgofs = nr_pages ? pvec.pages[0]->index : LONG_MAX; | |
236 | 237 | pagevec_release(&pvec); |
237 | 238 | return pgofs; |
238 | 239 | } |