diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2012-12-14 18:54:21 +0100 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2013-01-29 11:28:44 +0100 |
commit | c76c4d96bdd89027306cebc80eb3397286d8da66 (patch) | |
tree | 6e3de8b09e50d6a9fe1c690125e0a6118724de4c /fs/gfs2/sys.c | |
parent | GFS2: Copy gfs2_trans_add_bh into new data/meta functions (diff) | |
download | linux-c76c4d96bdd89027306cebc80eb3397286d8da66.tar.xz linux-c76c4d96bdd89027306cebc80eb3397286d8da66.zip |
GFS2: Merge gfs2_attach_bufdata() into trans.c
The locking in gfs2_attach_bufdata() was type specific (data/meta)
which made the function rather confusing. This patch moves the core
of gfs2_attach_bufdata() into trans.c renaming it gfs2_alloc_bufdata()
and moving the locking into gfs2_trans_add_data()/gfs2_trans_add_meta()
As a result all of the locking related to adding data and metadata to
the journal is now in these two functions. This should help to clarify
what is going on, and give us some opportunities to simplify in
some cases.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/sys.c')
0 files changed, 0 insertions, 0 deletions