summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorWei Fang <fangwei1@huawei.com>2016-03-21 19:19:30 +0800
committerShaohua Li <shli@fb.com>2016-03-31 10:04:18 -0700
commit466ad292235bd7f23d5cf04c7b507d146424d019 (patch)
tree12f2e02f79e5de7a8687eb5883903b66f5379645 /drivers/md/md.c
parent816b0acf3deb6d6be5d0519b286fdd4bafade905 (diff)
downloadop-kernel-dev-466ad292235bd7f23d5cf04c7b507d146424d019.zip
op-kernel-dev-466ad292235bd7f23d5cf04c7b507d146424d019.tar.gz
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>
Diffstat (limited to 'drivers/md/md.c')
-rw-r--r--drivers/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c
index c068f17..32ac6fa 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -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) {
OpenPOWER on IntegriCloud