diff options
author | Dave Chinner <[email protected]> | 2011-04-12 19:18:08 +1000 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2011-04-12 14:17:24 -0700 |
commit | 0d88f6e804c824454b5ed0d3034ed3dcf7467a87 (patch) | |
tree | 3323e2860f7bf892c889270cf936a3c4a45f3b80 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 95042f9eb78a8d9a17455e2ef263f2f310ecef15 (diff) |
nfs: don't call __mark_inode_dirty while holding i_lock
nfs_scan_commit() is called with the inode->i_lock held, but it then
calls __mark_inode_dirty() while still holding the lock. This causes
a deadlock.
Push the inode->i_lock into nfs_scan_commit() so it can protect only
the parts of the code it needs to and can be dropped before the call
to __mark_inode_dirty() to avoid the deadlock.
Signed-off-by: Dave Chinner <[email protected]>
Tested-by: Will Simoneau <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions