Browse Source

nilfs2: add missing error code in comment of nilfs_search_super_root

nilfs_search_super_root can return -ENOMEM, but this error code is not
described in its kernel-doc comment.  This fixes the discrepancy.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Ryusuke Konishi 15 years ago
parent
commit
2d72b99ecd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      fs/nilfs2/recovery.c

+ 2 - 0
fs/nilfs2/recovery.c

@@ -804,6 +804,8 @@ int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs,
  * %-EINVAL - No valid segment found
  *
  * %-EIO - I/O error
+ *
+ * %-ENOMEM - Insufficient memory available.
  */
 int nilfs_search_super_root(struct the_nilfs *nilfs,
 			    struct nilfs_recovery_info *ri)