]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: combine duplicated block freeing routines
authorEric Sandeen <sandeen@redhat.com>
Thu, 23 Jun 2011 15:39:34 +0000 (10:39 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 15 Jul 2011 08:32:52 +0000 (09:32 +0100)
commit3b3d6b681368574c99198d788b304197fbb5b794
treef28487201dd8fe815192b75d1b29426a7882a01b
parent1d453072e8fe50f06f032d6ea5edf459a8677936
GFS2: combine duplicated block freeing routines

__gfs2_free_data and __gfs2_free_meta are almost identical, and
can be trivially combined.

[This is as per Eric's original patch minus gfs2_free_data() which had
 no callers left and plus the conversion of the bmap.c calls to these
 functions. All in all, a nice clean up]

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h