]> 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)
commita2d104d6fd48f4ce726f5e2a1de8236a6228dbfa
tree107820adcdc4f90e38f3fb7a0bf523a275e746dd
parent9bab380dbc56a92c5472ee2154e0510c910a02c8
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