Re: [PATCH][1/2] fix for -mm add-sem_is_read-write_locked.patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 5 Sep 2005, David Howells wrote:

> The comment attached to the drop-in replacement patch is wrong:

Indeed it is.  Good thing Andrew doesn't seem to have dropped
it in ;)

> | +static inline int sem_is_read_locked(struct rw_semaphore *sem)
> | +{
> | +	return (sem->count != 0);
> | +}
> | +
> 
> This uses the function wrong name. And:

Argh.  That should be rwsem_is_locked of course...

> Is inconsistent, though the tests are valid.

I fixed that one in a separate patch.

-- 
All Rights Reversed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux