[PATCH 4.14 077/193] md: dont check MD_SB_CHANGE_CLEAN in md_allow_write

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Artur Paszkiewicz commit b90f6ff080c52e2f05364210733df120e3c4e597 upstream. Only MD_SB_CHANGE_PENDING should be used to wait for transition from clean to dirty.

[PATCH 4.14 077/193] md: dont check MD_SB_CHANGE_CLEAN in md_allow_write

2017-11-28 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Artur Paszkiewicz commit b90f6ff080c52e2f05364210733df120e3c4e597 upstream. Only MD_SB_CHANGE_PENDING should be used to wait for transition from clean to dirty. Checking also