diff options
-rw-r--r-- | fs/nilfs2/sufile.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/fs/nilfs2/sufile.c b/fs/nilfs2/sufile.c index 1541a1e9221a..1341a41e7b43 100644 --- a/fs/nilfs2/sufile.c +++ b/fs/nilfs2/sufile.c | |||
@@ -630,22 +630,22 @@ void nilfs_sufile_do_set_error(struct inode *sufile, __u64 segnum, | |||
630 | } | 630 | } |
631 | 631 | ||
632 | /** | 632 | /** |
633 | * nilfs_sufile_truncate_range - truncate range of segment array | 633 | * nilfs_sufile_truncate_range - truncate range of segment array |
634 | * @sufile: inode of segment usage file | 634 | * @sufile: inode of segment usage file |
635 | * @start: start segment number (inclusive) | 635 | * @start: start segment number (inclusive) |
636 | * @end: end segment number (inclusive) | 636 | * @end: end segment number (inclusive) |
637 | * | 637 | * |
638 | * Return Value: On success, 0 is returned. On error, one of the | 638 | * Return Value: On success, 0 is returned. On error, one of the |
639 | * following negative error codes is returned. | 639 | * following negative error codes is returned. |
640 | * | 640 | * |
641 | * %-EIO - I/O error. | 641 | * %-EIO - I/O error. |
642 | * | 642 | * |
643 | * %-ENOMEM - Insufficient amount of memory available. | 643 | * %-ENOMEM - Insufficient amount of memory available. |
644 | * | 644 | * |
645 | * %-EINVAL - Invalid number of segments specified | 645 | * %-EINVAL - Invalid number of segments specified |
646 | * | 646 | * |
647 | * %-EBUSY - Dirty or active segments are present in the range | 647 | * %-EBUSY - Dirty or active segments are present in the range |
648 | */ | 648 | */ |
649 | static int nilfs_sufile_truncate_range(struct inode *sufile, | 649 | static int nilfs_sufile_truncate_range(struct inode *sufile, |
650 | __u64 start, __u64 end) | 650 | __u64 start, __u64 end) |
651 | { | 651 | { |