From: Christoph Hellwig Date: Tue, 23 Mar 2010 00:47:38 +0000 (+1100) Subject: xfs: clean up xlog_write_adv_cnt X-Git-Tag: v2.6.35-rc1~468^2^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e6b1f27370fc67ac9868b2dbe2c22bc26952900e;p=pandora-kernel.git xfs: clean up xlog_write_adv_cnt Replace the awkward xlog_write_adv_cnt with an inline helper that makes it more obvious that it's modifying it's paramters, and replace the use of an integer type for "ptr" with a real void pointer. Also move xlog_write_adv_cnt to xfs_log_priv.h as it will be used outside of xfs_log.c in the delayed logging series. Signed-off-by: Christoph Hellwig Reviewed-by: Dave Chinner --- Reading git-diff-tree failed