]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: improve xfs_isilocked
authorChristoph Hellwig <hch@infradead.org>
Thu, 3 Jun 2010 06:22:29 +0000 (16:22 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 3 Jun 2010 06:22:29 +0000 (16:22 +1000)
commit779cf1a8b780b93ccda1939e4295f4b828f99a16
tree05d463cd3c40514f09c01553cfd40ea3ea784f37
parent02faeb8ab976d664544d6e305503636bcd2b3147
xfs: improve xfs_isilocked

Use rwsem_is_locked to make the assertations for shared locks work.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_iget.c