aboutsummaryrefslogtreecommitdiffstats
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
parentmd:raid1: fix a dead loop when read from a WriteMostly disk (diff)
downloadlinux-dev-466ad292235bd7f23d5cf04c7b507d146424d019.tar.xz
linux-dev-466ad292235bd7f23d5cf04c7b507d146424d019.zip
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 c068f171b4eb..32ac6faf9d6c 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) {