From: Jie Liu Date: Mon, 12 Aug 2013 10:49:59 +0000 (+1000) Subject: xfs: refactor xfs_trans_reserve() interface X-Git-Tag: v3.12-rc1~80^2~68 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d3c8b5222b92447bffaa4127ee18c757f32a460;p=pandora-kernel.git xfs: refactor xfs_trans_reserve() interface With the new xfs_trans_res structure has been introduced, the log reservation size, log count as well as log flags are pre-initialized at mount time. So it's time to refine xfs_trans_reserve() interface to be more neat. Also, introduce a new helper M_RES() to return a pointer to the mp->m_resv structure to simplify the input. Signed-off-by: Jie Liu Signed-off-by: Dave Chinner Reviewed-by: Mark Tinguely Signed-off-by: Ben Myers --- Reading git-diff-tree failed