aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/applesmc.c
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-12-05 14:15:49 +1100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-12-05 14:15:49 +1100
commit797eaed40e1df4a3b9ece6894a71ce2b568bca38 (patch)
tree930f84ddfa6cf8cb7e4ff81122cafd877489c02f /drivers/hwmon/applesmc.c
parenta5b429d41fede3a90deb532f5c2318393ed3a17b (diff)
[XFS] Remove unnecessary assertion
Hit this assert because an inode was tagged with XFS_ICI_RECLAIM_TAG but not XFS_IRECLAIMABLE|XFS_IRECLAIM. This is because xfs_iget_cache_hit() first clears XFS_IRECLAIMABLE and then calls __xfs_inode_clear_reclaim_tag() while only holding the pag_ici_lock in read mode so we can race with xfs_reclaim_inodes_ag(). Looks like xfs_reclaim_inodes_ag() will do the right thing anyway so just remove the assert. Thanks to Christoph for pointing out where the problem was. Signed-off-by: Lachlan McIlroy <lachlan@sgi.com> Reviewed-by: Christoph Hellwig <hch@infradead.org>
Diffstat (limited to 'drivers/hwmon/applesmc.c')
0 files changed, 0 insertions, 0 deletions