diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2016-05-23 19:23:25 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 20:04:14 -0400 |
commit | 4ad364ca1ce3f4f96e04aaeb7974de4380eb6004 (patch) | |
tree | 9bdfbbec27be2dcf6b25123323eeab76723f8ded /fs/nilfs2/cpfile.c | |
parent | e7a142aaa09fa5db015fd176d6943f888665829f (diff) |
nilfs2: add missing line spacing
Clean up checkpatch.pl warnings "WARNING: Missing a blank line after
declarations" from nilfs2.
Link: http://lkml.kernel.org/r/1461935747-10380-11-git-send-email-konishi.ryusuke@lab.ntt.co.jp
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/nilfs2/cpfile.c')
-rw-r--r-- | fs/nilfs2/cpfile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nilfs2/cpfile.c b/fs/nilfs2/cpfile.c index d192b48df9fb..16f884bd857c 100644 --- a/fs/nilfs2/cpfile.c +++ b/fs/nilfs2/cpfile.c | |||
@@ -37,6 +37,7 @@ static unsigned long | |||
37 | nilfs_cpfile_get_blkoff(const struct inode *cpfile, __u64 cno) | 37 | nilfs_cpfile_get_blkoff(const struct inode *cpfile, __u64 cno) |
38 | { | 38 | { |
39 | __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; | 39 | __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; |
40 | |||
40 | do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); | 41 | do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); |
41 | return (unsigned long)tcno; | 42 | return (unsigned long)tcno; |
42 | } | 43 | } |
@@ -46,6 +47,7 @@ static unsigned long | |||
46 | nilfs_cpfile_get_offset(const struct inode *cpfile, __u64 cno) | 47 | nilfs_cpfile_get_offset(const struct inode *cpfile, __u64 cno) |
47 | { | 48 | { |
48 | __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; | 49 | __u64 tcno = cno + NILFS_MDT(cpfile)->mi_first_entry_offset - 1; |
50 | |||
49 | return do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); | 51 | return do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); |
50 | } | 52 | } |
51 | 53 | ||