diff options
author | Bob Peterson <rpeterso@redhat.com> | 2016-05-02 19:53:35 +0300 |
---|---|---|
committer | Bob Peterson <rpeterso@redhat.com> | 2016-05-06 19:27:27 +0300 |
commit | 68cd4ce2caf22a81833eb1abfa075eb1cc39bfe2 (patch) | |
tree | d1220db2741f8d96d0f2fde5106b1595dd7f1cae /fs/gfs2/glock.c | |
parent | 8381e6022755863258a352128a55e375a766f50d (diff) | |
download | linux-68cd4ce2caf22a81833eb1abfa075eb1cc39bfe2.tar.xz |
GFS2: Refactor gfs2_remove_from_journal
This patch makes two simple changes to function gfs2_remove_from_journal.
First, it removes the parameter that specifies the transaction.
Since it's always passed in as current->journal_info, we might as well
set that in the function rather than passing it in. Second, it changes
the meta parameter to use an enum to make the code more clear.
Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Acked-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/glock.c')
0 files changed, 0 insertions, 0 deletions