From: Jie Liu Date: Fri, 3 May 2013 07:41:19 +0000 (+0800) Subject: xfs: Remove two dead transaction log reservaion macros X-Git-Tag: v3.11-rc1~71^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb8b5027dbde32a45edf5f3d7ee082be9261d93;p=pandora-kernel.git xfs: Remove two dead transaction log reservaion macros Upstream commit 5b292ae3a951a58e32119d73c7ac8f5bec7395a3 xfs: make use of xfs_calc_buf_res() in xfs_trans.c Beginning from above commit, neither XFS_ALLOCFREE_LOG_RES() nor XFS_DIROP_LOG_RES() is used by those routines for calculating transaction space reservations, so it's safe to remove them now. Also, with a slightly update for the relevant comments to reflect the ideas of why those log count numbers should be. Signed-off-by: Jie Liu Reviewed-by: Ben Myers Signed-off-by: Ben Myers --- Reading git-diff-tree failed