.. | .. |
---|
322 | 322 | int ret, ncps, nicps, nss, count, i; |
---|
323 | 323 | |
---|
324 | 324 | if (unlikely(start == 0 || start > end)) { |
---|
325 | | - nilfs_msg(cpfile->i_sb, KERN_ERR, |
---|
| 325 | + nilfs_err(cpfile->i_sb, |
---|
326 | 326 | "cannot delete checkpoints: invalid range [%llu, %llu)", |
---|
327 | 327 | (unsigned long long)start, (unsigned long long)end); |
---|
328 | 328 | return -EINVAL; |
---|
.. | .. |
---|
376 | 376 | cpfile, cno); |
---|
377 | 377 | if (ret == 0) |
---|
378 | 378 | continue; |
---|
379 | | - nilfs_msg(cpfile->i_sb, KERN_ERR, |
---|
| 379 | + nilfs_err(cpfile->i_sb, |
---|
380 | 380 | "error %d deleting checkpoint block", |
---|
381 | 381 | ret); |
---|
382 | 382 | break; |
---|
.. | .. |
---|
889 | 889 | * nilfs_cpfile_change_cpmode - change checkpoint mode |
---|
890 | 890 | * @cpfile: inode of checkpoint file |
---|
891 | 891 | * @cno: checkpoint number |
---|
892 | | - * @status: mode of checkpoint |
---|
| 892 | + * @mode: mode of checkpoint |
---|
893 | 893 | * |
---|
894 | 894 | * Description: nilfs_change_cpmode() changes the mode of the checkpoint |
---|
895 | 895 | * specified by @cno. The mode @mode is NILFS_CHECKPOINT or NILFS_SNAPSHOT. |
---|
.. | .. |
---|
930 | 930 | /** |
---|
931 | 931 | * nilfs_cpfile_get_stat - get checkpoint statistics |
---|
932 | 932 | * @cpfile: inode of checkpoint file |
---|
933 | | - * @stat: pointer to a structure of checkpoint statistics |
---|
| 933 | + * @cpstat: pointer to a structure of checkpoint statistics |
---|
934 | 934 | * |
---|
935 | 935 | * Description: nilfs_cpfile_get_stat() returns information about checkpoints. |
---|
936 | 936 | * |
---|
937 | 937 | * Return Value: On success, 0 is returned, and checkpoints information is |
---|
938 | | - * stored in the place pointed by @stat. On error, one of the following |
---|
| 938 | + * stored in the place pointed by @cpstat. On error, one of the following |
---|
939 | 939 | * negative error codes is returned. |
---|
940 | 940 | * |
---|
941 | 941 | * %-EIO - I/O error. |
---|
.. | .. |
---|
981 | 981 | int err; |
---|
982 | 982 | |
---|
983 | 983 | if (cpsize > sb->s_blocksize) { |
---|
984 | | - nilfs_msg(sb, KERN_ERR, |
---|
985 | | - "too large checkpoint size: %zu bytes", cpsize); |
---|
| 984 | + nilfs_err(sb, "too large checkpoint size: %zu bytes", cpsize); |
---|
986 | 985 | return -EINVAL; |
---|
987 | 986 | } else if (cpsize < NILFS_MIN_CHECKPOINT_SIZE) { |
---|
988 | | - nilfs_msg(sb, KERN_ERR, |
---|
989 | | - "too small checkpoint size: %zu bytes", cpsize); |
---|
| 987 | + nilfs_err(sb, "too small checkpoint size: %zu bytes", cpsize); |
---|
990 | 988 | return -EINVAL; |
---|
991 | 989 | } |
---|
992 | 990 | |
---|