commit 0e0ac9d9811add9d3a4892888c50f99f3ff80dd6 Author: Sudip Midya Date: Wed Sep 21 21:05:42 2016 +0530 mm: remove unnecessary rcu_lock/unlock around radix_tree_tagged. The function queue_delayed_work is already protected with interrupts disabled, no need to add the rcu_lock diff --git a/fs/xfs/xfs_icache.c b/fs/xfs/xfs_icache.c index fb39a66..887c868 100644 --- a/fs/xfs/xfs_icache.c +++ b/fs/xfs/xfs_icache.c @@ -153,12 +153,10 @@ xfs_reclaim_work_queue( struct xfs_mount *mp) { - rcu_read_lock(); if (radix_tree_tagged(&mp->m_perag_tree, XFS_ICI_RECLAIM_TAG)) { queue_delayed_work(mp->m_reclaim_workqueue, &mp->m_reclaim_work, msecs_to_jiffies(xfs_syncd_centisecs / 6 * 10)); } - rcu_read_unlock(); } /*