Merge tag 'xfs-for-linus-4.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git] / fs / fs-writeback.c
index 023f6a1f23cd034810aa26acde809cde118841f2..6915c950e6e8aeefb7c6162e7e7410de98f4e309 100644 (file)
@@ -677,9 +677,7 @@ void wbc_account_io(struct writeback_control *wbc, struct page *page,
        if (!wbc->wb)
                return;
 
-       rcu_read_lock();
        id = mem_cgroup_css_from_page(page)->id;
-       rcu_read_unlock();
 
        if (id == wbc->wb_id) {
                wbc->wb_bytes += bytes;