Messages in this thread | | | Date | Wed, 23 Apr 2008 09:16:02 +1000 | From | David Chinner <> | Subject | Re: [PATCH] xfs: expose no-op xfs_put_perag() |
| |
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
| |