Re: [PATCH] xfs semaphore count abuse fixes

From: Nathan Scott
Date: Thu Jun 15 2006 - 20:19:12 EST


On Thu, Jun 15, 2006 at 12:38:21PM +0100, Al Viro wrote:
> Kill direct access to ->count in valusema(); all we ever use it for is check
> if semaphore is actually locked, which can be trivially done in portable way.
> Code gets more reabable, while we are at it...

Thanks Al, looks good. The naming convention you've picked is a
bit inconsistent with the rest of the code there (lacks an "a"),
I'll update it and get it merged.

cheers.

--
Nathan
-
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/