aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nilfs2/recovery.c
diff options
context:
space:
mode:
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>2016-05-23 19:23:48 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2016-05-23 20:04:14 -0400
commit076a378ba6e6b6ddd5f2336aa0876349b7d36409 (patch)
tree150c71c85a086bb76e66e08e2fd0d5ee1b7db166 /fs/nilfs2/recovery.c
parent80d6505232ec2476eef8d988ea98ac81eb2e0975 (diff)
nilfs2: fix block comments
This fixes block comments with proper formatting to eliminate the following checkpatch.pl warnings: "WARNING: Block comments use * on subsequent lines" "WARNING: Block comments use a trailing */ on a separate line" Link: http://lkml.kernel.org/r/1462886671-3521-8-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/recovery.c')
-rw-r--r--fs/nilfs2/recovery.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/fs/nilfs2/recovery.c b/fs/nilfs2/recovery.c
index db156a199149..d893dc912b62 100644
--- a/fs/nilfs2/recovery.c
+++ b/fs/nilfs2/recovery.c
@@ -43,8 +43,10 @@ enum {
43 43
44/* work structure for recovery */ 44/* work structure for recovery */
45struct nilfs_recovery_block { 45struct nilfs_recovery_block {
46 ino_t ino; /* Inode number of the file that this block 46 ino_t ino; /*
47 belongs to */ 47 * Inode number of the file that this block
48 * belongs to
49 */
48 sector_t blocknr; /* block number */ 50 sector_t blocknr; /* block number */
49 __u64 vblocknr; /* virtual block number */ 51 __u64 vblocknr; /* virtual block number */
50 unsigned long blkoff; /* File offset of the data block (per block) */ 52 unsigned long blkoff; /* File offset of the data block (per block) */
@@ -869,9 +871,11 @@ int nilfs_search_super_root(struct the_nilfs *nilfs,
869 871
870 flags = le16_to_cpu(sum->ss_flags); 872 flags = le16_to_cpu(sum->ss_flags);
871 if (!(flags & NILFS_SS_SR) && !scan_newer) { 873 if (!(flags & NILFS_SS_SR) && !scan_newer) {
872 /* This will never happen because a superblock 874 /*
873 (last_segment) always points to a pseg 875 * This will never happen because a superblock
874 having a super root. */ 876 * (last_segment) always points to a pseg with
877 * a super root.
878 */
875 ret = NILFS_SEG_FAIL_CONSISTENCY; 879 ret = NILFS_SEG_FAIL_CONSISTENCY;
876 goto failed; 880 goto failed;
877 } 881 }