[PATCH 04/24] GFS2: Clean up releasepage

2014-01-20 Thread Steven Whitehouse
For historical reasons, we drop and retake the log lock in ->releasepage() however, since there is no reason why we cannot hold the log lock over the whole function, this allows some simplification. In particular, pinning a buffer is only ever done under the log lock, so it is possible here to

[PATCH 04/24] GFS2: Clean up releasepage

2014-01-20 Thread Steven Whitehouse
For historical reasons, we drop and retake the log lock in -releasepage() however, since there is no reason why we cannot hold the log lock over the whole function, this allows some simplification. In particular, pinning a buffer is only ever done under the log lock, so it is possible here to