diff options
author | Wang Sheng-Hui <shhuiw@gmail.com> | 2011-10-31 20:12:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-10-31 20:30:56 -0400 |
commit | e3816c5407c800e4fb055d08f668286db6b7113f (patch) | |
tree | 03b758aea75b8f1baca1f08c872f4908ab4fa5e5 /lib | |
parent | 3a8495c739c1c773181a246dbb7c12b5b67a8325 (diff) |
lib/idr.c: fix comment for ida_get_new_above()
Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/idr.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -767,8 +767,8 @@ EXPORT_SYMBOL(ida_pre_get); | |||
767 | * @starting_id: id to start search at | 767 | * @starting_id: id to start search at |
768 | * @p_id: pointer to the allocated handle | 768 | * @p_id: pointer to the allocated handle |
769 | * | 769 | * |
770 | * Allocate new ID above or equal to @ida. It should be called with | 770 | * Allocate new ID above or equal to @starting_id. It should be called |
771 | * any required locks. | 771 | * with any required locks. |
772 | * | 772 | * |
773 | * If memory is required, it will return %-EAGAIN, you should unlock | 773 | * If memory is required, it will return %-EAGAIN, you should unlock |
774 | * and go back to the ida_pre_get() call. If the ida is full, it will | 774 | * and go back to the ida_pre_get() call. If the ida is full, it will |