Hello Vyacheslav, On 30.11.2015 00:03, Vyacheslav Dubeyko wrote: > Hi Timo, > > I think that this is the right placement for sync_filesystem() call. > It's much better to have such call in one place. Anyway, you need to set > HFS_SB_ATTRIB_UNMNT and to clear HFS_SB_ATTRIB_INCNSTNT for remount from > READ-WRITE to READ-ONLY state. And vou need to do opposite operation for > remount from READ-ONLY to READ-WRITE state. So, it's much better ti > leave sync_filesystem() call in the same place but to add additional > logic before this call. > > Thanks, > Vyacheslav Dubeyko. > I agree with you and will provide an updated patch for this. Best regards Timo Schlüßler -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html