]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.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>
Thu, 13 Sep 2012 09:30:00 +0000 (10:30 +0100)
commitda1dfb6af849cb05aa82b0c18866a7b2bafb6905
tree107820adcdc4f90e38f3fb7a0bf523a275e746dd
parent0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
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