]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Copy gfs2_trans_add_bh into new data/meta functions
authorSteven Whitehouse <swhiteho@redhat.com>
Fri, 14 Dec 2012 12:52:14 +0000 (12:52 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 29 Jan 2013 10:28:28 +0000 (10:28 +0000)
commit767f433f346959d6a09b85478eb5db133ab25c6f
tree876056d7569fcd96fbf8b08163abc00ef0878c66
parent350a9b0a7269c6f4b99eca34d0e773c3c2072520
GFS2: Copy gfs2_trans_add_bh into new data/meta functions

This patch copies the body of gfs2_trans_add_bh into the two newly
added gfs2_trans_add_data and gfs2_trans_add_meta functions. We can
then move the .lo_add functions from lops.c into trans.c and call
them directly.

As a result of this, we no longer need to use the .lo_add functions
at all, so that is removed from the log operations structure.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/incore.h
fs/gfs2/lops.c
fs/gfs2/lops.h
fs/gfs2/trans.c