aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.c
diff options
context:
space:
mode:
authorGuoqing Jiang <gqjiang@suse.com>2015-12-20 18:51:01 -0500
committerNeilBrown <neilb@suse.com>2016-01-05 19:39:26 -0500
commitabf3508d8faa281e01a780e022a6f43d1731fe0b (patch)
tree05db400f52ecc16435ab12582e843a8bde90f829 /drivers/md/md.c
parente19508fa4df896b115f5321c21ce7669559b0863 (diff)
md: update comment for md_allow_write
MD_CHANGE_CLEAN had been replaced with MD_CHANGE_PENDING after commit 070dc6 ("md: resolve confusion of MD_CHANGE_CLEAN"), so make the change accordingly. Signed-off-by: Guoqing Jiang <gqjiang@suse.com> Signed-off-by: NeilBrown <neilb@suse.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 504ce5d068ce..f71a81b37d08 100644
--- a/drivers/md/md.c
+++ b/drivers/md/md.c
@@ -7714,7 +7714,7 @@ EXPORT_SYMBOL(md_write_end);
7714 * attempting a GFP_KERNEL allocation while holding the mddev lock. 7714 * attempting a GFP_KERNEL allocation while holding the mddev lock.
7715 * Must be called with mddev_lock held. 7715 * Must be called with mddev_lock held.
7716 * 7716 *
7717 * In the ->external case MD_CHANGE_CLEAN can not be cleared until mddev->lock 7717 * In the ->external case MD_CHANGE_PENDING can not be cleared until mddev->lock
7718 * is dropped, so return -EAGAIN after notifying userspace. 7718 * is dropped, so return -EAGAIN after notifying userspace.
7719 */ 7719 */
7720int md_allow_write(struct mddev *mddev) 7720int md_allow_write(struct mddev *mddev)