File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1962,17 +1962,17 @@ static int multipath_prepare_ioctl(struct dm_target *ti,
1962
1962
struct block_device * * bdev )
1963
1963
{
1964
1964
struct multipath * m = ti -> private ;
1965
- struct pgpath * current_pgpath ;
1965
+ struct pgpath * pgpath ;
1966
1966
unsigned long flags ;
1967
1967
int r ;
1968
1968
1969
- current_pgpath = READ_ONCE (m -> current_pgpath );
1970
- if (!current_pgpath || !test_bit (MPATHF_QUEUE_IO , & m -> flags ))
1971
- current_pgpath = choose_pgpath (m , 0 );
1969
+ pgpath = READ_ONCE (m -> current_pgpath );
1970
+ if (!pgpath || !test_bit (MPATHF_QUEUE_IO , & m -> flags ))
1971
+ pgpath = choose_pgpath (m , 0 );
1972
1972
1973
- if (current_pgpath ) {
1973
+ if (pgpath ) {
1974
1974
if (!test_bit (MPATHF_QUEUE_IO , & m -> flags )) {
1975
- * bdev = current_pgpath -> path .dev -> bdev ;
1975
+ * bdev = pgpath -> path .dev -> bdev ;
1976
1976
r = 0 ;
1977
1977
} else {
1978
1978
/* pg_init has not started or completed */
You can’t perform that action at this time.
0 commit comments