Skip to contentSkip to conversation

nilfs2: align block comments of nilfs_sufile_truncate_range() at *

PATCH New [email protected] 1 participant 1 message Nov 17, 2017 NILFS2 filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 59/94 nilfs2: align block comments of nilfs_sufile_truncate_range() at *

From: Ryusuke Konishi <[email protected]>
Subject: nilfs2: align block comments of nilfs_sufile_truncate_range() at *

Fix the following checkpatch warning:

WARNING: Block comments should align the * on each line #633: FILE: sufile.c:633:
+/**
+ * nilfs_sufile_truncate_range - truncate range of segment array

---

 fs/nilfs2/sufile.c |   32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)
fs/nilfs2/sufile.c renamed from fs/nilfs2/sufile.c~nilfs2-align-block-comments-of-nilfs_sufile_truncate_range-at +16 -16
diff -puN fs/nilfs2/sufile.c~nilfs2-align-block-comments-of-nilfs_sufile_truncate_range-at fs/nilfs2/sufile.c
@@ -630,22 +630,22 @@ void nilfs_sufile_do_set_error(struct in
 }
 
 /**
-  * nilfs_sufile_truncate_range - truncate range of segment array
-  * @sufile: inode of segment usage file
-  * @start: start segment number (inclusive)
-  * @end: end segment number (inclusive)
-  *
-  * Return Value: On success, 0 is returned.  On error, one of the
-  * following negative error codes is returned.
-  *
-  * %-EIO - I/O error.
-  *
-  * %-ENOMEM - Insufficient amount of memory available.
-  *
-  * %-EINVAL - Invalid number of segments specified
-  *
-  * %-EBUSY - Dirty or active segments are present in the range
-  */
+ * nilfs_sufile_truncate_range - truncate range of segment array
+ * @sufile: inode of segment usage file
+ * @start: start segment number (inclusive)
+ * @end: end segment number (inclusive)
+ *
+ * Return Value: On success, 0 is returned.  On error, one of the
+ * following negative error codes is returned.
+ *
+ * %-EIO - I/O error.
+ *
+ * %-ENOMEM - Insufficient amount of memory available.
+ *
+ * %-EINVAL - Invalid number of segments specified
+ *
+ * %-EBUSY - Dirty or active segments are present in the range
+ */
 static int nilfs_sufile_truncate_range(struct inode *sufile,
 				       __u64 start, __u64 end)
 {

_