Skip to content

Commit

Permalink
md: update comment for md_allow_write
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
  • Loading branch information
GuoqingJiang authored and NeilBrown committed Jan 6, 2016
1 parent e19508f commit abf3508
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -7714,7 +7714,7 @@ EXPORT_SYMBOL(md_write_end);
* attempting a GFP_KERNEL allocation while holding the mddev lock.
* Must be called with mddev_lock held.
*
* In the ->external case MD_CHANGE_CLEAN can not be cleared until mddev->lock
* In the ->external case MD_CHANGE_PENDING can not be cleared until mddev->lock
* is dropped, so return -EAGAIN after notifying userspace.
*/
int md_allow_write(struct mddev *mddev)
Expand Down

0 comments on commit abf3508

Please sign in to comment.