]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Make write size hinting code common
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 26 Jul 2012 10:30:54 +0000 (11:30 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 3 Aug 2012 09:21:56 +0000 (10:21 +0100)
commit2fe92b82ab25ecee65265a68d50c090058cdb29b
treeca4b61316976d8992274c2e59860ca4ce26bfbcf
parentf90976466fcacea047d06f7c5313502397c55f36
GFS2: Make write size hinting code common

This collects up the write size hinting code which is used by the
block reservation subsystem into a single function. At the same
time this also corrects the rounding for this calculation.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/file.c