gfs2: Clean up gfs2_is_{ordered,writeback}
authorAndreas Gruenbacher <agruenba@redhat.com>
Fri, 12 Oct 2018 18:07:27 +0000 (20:07 +0200)
committerAndreas Gruenbacher <agruenba@redhat.com>
Tue, 11 Dec 2018 16:50:35 +0000 (17:50 +0100)
commit977767a7e1ee32ae85377d88b5383da789d2a6b5
treec417d24dbbaaea8d28d62a37b5df16f200f237de
parent40e020c129cfc991e8ab4736d2665351ffd1468d
gfs2: Clean up gfs2_is_{ordered,writeback}

The gfs2_is_ordered and gfs2_is_writeback checks are weird in that they
implicitly check for !gfs2_is_jdata.  This makes understanding how to
use those functions correctly a challenge.  Clean this up by making
gfs2_is_ordered and gfs2_is_writeback take a super block instead of an
inode and by removing the implicit !gfs2_is_jdata checks.  Update the
callers accordingly.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
fs/gfs2/aops.c
fs/gfs2/inode.h
fs/gfs2/log.h