From: Christoph Hellwig Date: Mon, 20 Feb 2012 02:31:31 +0000 (+0000) Subject: xfs: split and cleanup xfs_log_reserve X-Git-Tag: v3.4-rc1~121^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9006fb91cfdf22812923f0536c7531c429c1aeab;p=pandora-kernel.git xfs: split and cleanup xfs_log_reserve Split the log regrant case out of xfs_log_reserve into a separate function, and merge xlog_grant_log_space and xlog_regrant_write_log_space into their respective callers. Also replace the XFS_LOG_PERM_RESERV flag, which easily got misused before the previous cleanups with a simple boolean parameter. Signed-off-by: Christoph Hellwig Reviewed-by: Mark Tinguely Reviewed-by: Dave Chinner Signed-off-by: Ben Myers --- Reading git-diff-tree failed