mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
block: loop: enable loop partiton scanning
PD#168231: block: loop: enable loop partiton scanning If max_part is given, partition scanning is globally enabled for loop devices. Change-Id: I7a8ca59eff85cf9ee97264c3d8ae8dceb198cf32 Signed-off-by: Ao Xu <ao.xu@amlogic.com>
This commit is contained in:
@@ -83,7 +83,11 @@
|
||||
static DEFINE_IDR(loop_index_idr);
|
||||
static DEFINE_MUTEX(loop_index_mutex);
|
||||
|
||||
#ifdef CONFIG_AMLOGIC_MODIFY
|
||||
static int max_part = 4;
|
||||
#else
|
||||
static int max_part;
|
||||
#endif
|
||||
static int part_shift;
|
||||
|
||||
static int transfer_xor(struct loop_device *lo, int cmd,
|
||||
|
||||
Reference in New Issue
Block a user