Re: [PATCH] xfs: expose no-op xfs_put_perag()
From: David Chinner
Date: Tue Apr 22 2008 - 19:16:34 EST
On Tue, Apr 22, 2008 at 03:46:58PM +0200, Denys Vlasenko wrote:
> Hi David,
>
> Inline function xfs_put_perag() in fs/xfs/xfs_mount.h is a no-op.
>
> This patch converts it to no-op macro.
xfs_put_perag() is paired with xfs_get_perag() and should never be
called by itself. It is a stub for AG reference counting the
in-memory per-ag structures and, in future, locking to allow us to
avoid certain deadlocks that can occur (rarely) when growing and
shrinking the filesystem.
Also, I've got patches that put stuff in this function, so I'd
prefer to leave it as it is right now...
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/