nilfs2: add missing error code in comment of nilfs_search_super_root
authorRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Mon, 28 Jun 2010 10:15:25 +0000 (19:15 +0900)
committerRyusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Fri, 23 Jul 2010 01:02:11 +0000 (10:02 +0900)
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>
fs/nilfs2/recovery.c

index f5d9c3f954aeecb4ed8afd9805f59ac8e4bead70..83e3d8c61a01c8244d8bb01d8f10de0ad909792a 100644 (file)
@@ -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)