]> git.baikalelectronics.ru Git - 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)
commitf2e18451bf53f453fc12354e2b0c6cd4aad48614
tree107820adcdc4f90e38f3fb7a0bf523a275e746dd
parentdde762d5e7a1fb234d670e75ab8ffe3b4780e644
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