]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit46fcb2ed29ff7a9ec34c4ae67b631743eb7e756f
treef28487201dd8fe815192b75d1b29426a7882a01b
parent9964afbb797329e4c6e5d05ebc199c39af618c5f
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