commit | e6b1f27370fc67ac9868b2dbe2c22bc26952900e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@infradead.org> | Tue Mar 23 11:47:38 2010 +1100 |
committer | Alex Elder <aelder@sgi.com> | Wed May 19 09:58:10 2010 -0500 |
tree | 69485365ff6b9f22a56bcfc4814b27b45622d6e9 | |
parent | 55b66332d0921146a914d5d75a7b870a65dc4938 [diff] |
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 <hch@lst.de> Reviewed-by: Dave Chinner <dchinner@redhat.com>