md: fix a trivial typo in comments
Fix a trivial typo in md_ioctl(). Signed-off-by: Wei Fang <fangwei1@huawei.com> Signed-off-by: Shaohua Li <shli@fb.com>
This commit is contained in:
parent
816b0acf3d
commit
466ad29223
|
@ -6883,7 +6883,7 @@ static int md_ioctl(struct block_device *bdev, fmode_t mode,
|
|||
|
||||
case ADD_NEW_DISK:
|
||||
/* We can support ADD_NEW_DISK on read-only arrays
|
||||
* on if we are re-adding a preexisting device.
|
||||
* only if we are re-adding a preexisting device.
|
||||
* So require mddev->pers and MD_DISK_SYNC.
|
||||
*/
|
||||
if (mddev->pers) {
|
||||
|
|
Loading…
Reference in New Issue