aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2014-09-19 05:48:47 -0400
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-09-19 11:11:57 -0400
commitadfe83be973dc990f3763de3667c4cd004e6e4f7 (patch)
tree1d47d83b405d5615d396a96091d4fa258a6f6907
parentd577bc104f2c01928d586358663de6d0a950130f (diff)
UBI: Improve comment on work_sem
Make clear what work_sem really does. Suggested-by: Artem Bityutskiy <dedekind1@gmail.com> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
-rw-r--r--drivers/mtd/ubi/ubi.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 7bf416329c19..f2933df15f9c 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -439,7 +439,8 @@ struct ubi_debug_info {
439 * @move_to, @move_to_put @erase_pending, @wl_scheduled, @works, 439 * @move_to, @move_to_put @erase_pending, @wl_scheduled, @works,
440 * @erroneous, and @erroneous_peb_count fields 440 * @erroneous, and @erroneous_peb_count fields
441 * @move_mutex: serializes eraseblock moves 441 * @move_mutex: serializes eraseblock moves
442 * @work_sem: synchronizes the WL worker with use tasks 442 * @work_sem: used to wait for all the scheduled works to finish and prevent
443 * new works from being submitted
443 * @wl_scheduled: non-zero if the wear-leveling was scheduled 444 * @wl_scheduled: non-zero if the wear-leveling was scheduled
444 * @lookuptbl: a table to quickly find a &struct ubi_wl_entry object for any 445 * @lookuptbl: a table to quickly find a &struct ubi_wl_entry object for any
445 * physical eraseblock 446 * physical eraseblock