]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
GFS2: Streamline alloc calculations for writes
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 10 Dec 2008 10:28:10 +0000 (10:28 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 5 Jan 2009 07:39:17 +0000 (07:39 +0000)
commit7ed122e42c72b3e4531f8b4a9f72159e8303ac15
treeaa9976f47cf34b0b6d267654e74b9ea4f7a29d75
parent9a776db7371b9c77a8f4f0d2ac6374d78ac7db7d
GFS2: Streamline alloc calculations for writes

This patch removes some unused code, and make the calculation
of the number of blocks required conditional in order to reduce
the number of times this (potentially expensive) calculation
is done.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/bmap.c
fs/gfs2/bmap.h
fs/gfs2/ops_address.c
fs/gfs2/ops_file.c