UBI: trivial: fix comment of ubi_calculate_reserved function
authorShmulik Ladkani <shmulik.ladkani@gmail.com>
Wed, 4 Jul 2012 08:06:03 +0000 (11:06 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Wed, 18 Jul 2012 10:33:03 +0000 (13:33 +0300)
The function name within the comment was not aligned with the actual
function name.

Signed-off-by: Shmulik Ladkani <shmulik.ladkani@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
drivers/mtd/ubi/misc.c

index f6a7d7a..b57134d 100644 (file)
@@ -92,7 +92,7 @@ int ubi_check_volume(struct ubi_device *ubi, int vol_id)
 }
 
 /**
- * ubi_calculate_rsvd_pool - calculate how many PEBs must be reserved for bad
+ * ubi_calculate_reserved - calculate how many PEBs must be reserved for bad
  * eraseblock handling.
  * @ubi: UBI device description object
  */