Commit 2fe4ffc
md: merge the check of capabilities into md_ioctl_valid()
There is no functional change. Just to make code cleaner.
Signed-off-by: Li Nan <linan122@huawei.com>
Reviewed-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240226031444.3606764-2-linan666@huaweicloud.com1 parent 82c6515 commit 2fe4ffc
1 file changed
Lines changed: 12 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7522 | 7522 | | |
7523 | 7523 | | |
7524 | 7524 | | |
7525 | | - | |
| 7525 | + | |
7526 | 7526 | | |
7527 | 7527 | | |
7528 | | - | |
7529 | 7528 | | |
7530 | | - | |
7531 | 7529 | | |
| 7530 | + | |
| 7531 | + | |
| 7532 | + | |
| 7533 | + | |
7532 | 7534 | | |
7533 | 7535 | | |
7534 | | - | |
7535 | 7536 | | |
7536 | 7537 | | |
7537 | 7538 | | |
| |||
7540 | 7541 | | |
7541 | 7542 | | |
7542 | 7543 | | |
7543 | | - | |
| 7544 | + | |
| 7545 | + | |
| 7546 | + | |
7544 | 7547 | | |
7545 | | - | |
| 7548 | + | |
7546 | 7549 | | |
7547 | 7550 | | |
7548 | 7551 | | |
| |||
7602 | 7605 | | |
7603 | 7606 | | |
7604 | 7607 | | |
7605 | | - | |
7606 | | - | |
7607 | | - | |
7608 | | - | |
7609 | | - | |
7610 | | - | |
7611 | | - | |
7612 | | - | |
7613 | | - | |
7614 | | - | |
7615 | | - | |
7616 | | - | |
| 7608 | + | |
| 7609 | + | |
| 7610 | + | |
7617 | 7611 | | |
7618 | 7612 | | |
7619 | 7613 | | |
| |||
0 commit comments