commit | 68cd4ce2caf22a81833eb1abfa075eb1cc39bfe2 | [log] [tgz] |
---|---|---|
author | Bob Peterson <rpeterso@redhat.com> | Mon May 02 11:53:35 2016 -0500 |
committer | Bob Peterson <rpeterso@redhat.com> | Fri May 06 11:27:27 2016 -0500 |
tree | d1220db2741f8d96d0f2fde5106b1595dd7f1cae | |
parent | 8381e6022755863258a352128a55e375a766f50d [diff] |
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>