diff options
author | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-06-28 06:15:25 -0400 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2010-07-22 21:02:11 -0400 |
commit | 2d72b99ecdf8cbb5d9422c54b401d9d590b2faf5 (patch) | |
tree | 9984b1d2f457bb80268e66171b404b12dd917d21 /fs/nilfs2/recovery.c | |
parent | 843d63baa5babf3d8786f6a4377a2448525da7aa (diff) |
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>
Diffstat (limited to 'fs/nilfs2/recovery.c')
-rw-r--r-- | fs/nilfs2/recovery.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nilfs2/recovery.c b/fs/nilfs2/recovery.c index f5d9c3f954ae..83e3d8c61a01 100644 --- a/fs/nilfs2/recovery.c +++ b/fs/nilfs2/recovery.c | |||
@@ -804,6 +804,8 @@ int nilfs_salvage_orphan_logs(struct the_nilfs *nilfs, | |||
804 | * %-EINVAL - No valid segment found | 804 | * %-EINVAL - No valid segment found |
805 | * | 805 | * |
806 | * %-EIO - I/O error | 806 | * %-EIO - I/O error |
807 | * | ||
808 | * %-ENOMEM - Insufficient memory available. | ||
807 | */ | 809 | */ |
808 | int nilfs_search_super_root(struct the_nilfs *nilfs, | 810 | int nilfs_search_super_root(struct the_nilfs *nilfs, |
809 | struct nilfs_recovery_info *ri) | 811 | struct nilfs_recovery_info *ri) |