summaryrefslogtreecommitdiff
path: root/fs/gfs2/log.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2012-04-16 08:40:00 (GMT)
committerSteven Whitehouse <swhiteho@redhat.com>2012-04-24 15:44:35 (GMT)
commitdad30e9031c5927c30b402f73ac57ffbe09dc9ee (patch)
tree01384e81d04644da848477b0cb51182d18229b59 /fs/gfs2/log.c
parente8c92ed769008cfc799497f0a34c8faf46243c4d (diff)
downloadlinux-fsl-qoriq-dad30e9031c5927c30b402f73ac57ffbe09dc9ee.tar.xz
GFS2: Remove duplicate log code
The main part of this patch merges the two functions used to write metadata and data buffers to the log. Most of the code is common between the two functions, so this provides a nice clean up, and makes the code more readable. The gfs2_get_log_desc() function is also extended to take two more arguments, and thus avoid having to set the length and data1 fields of this strucuture as a separate operation. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/log.c')
0 files changed, 0 insertions, 0 deletions