On Wed, Feb 27, 2019 at 04:06:24PM +0100, David Sterba wrote: > So the unchecked access to inode flags does not happen, I did not have a > clear picture of the change. The locks are only moved outside of _prep > to the caller. > > The lock/unlock look better in the same function, they're close toe each > other on the same page, so ok from me.
I've applied the patch and only left the locking changes, as discussed.