提交 d2caaa0a 编写于 作者: A Al Viro

nfs: missing wakeup in nfs_unblock_sillyrename()

will be needed as soon as lookups are not serialized by ->i_mutex
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 be5b82db
......@@ -229,6 +229,7 @@ void nfs_unblock_sillyrename(struct dentry *dentry)
struct nfs_unlinkdata *data;
atomic_inc(&nfsi->silly_count);
wake_up(&nfsi->waitqueue);
spin_lock(&dir->i_lock);
while (!hlist_empty(&nfsi->silly_list)) {
if (!atomic_inc_not_zero(&nfsi->silly_count))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册