]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
kclient: wakeup wq waiting on caps on write
authorYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 3 Mar 2009 22:35:56 +0000 (14:35 -0800)
committerYehuda Sadeh <yehuda@hq.newdream.net>
Tue, 3 Mar 2009 22:35:56 +0000 (14:35 -0800)
src/kernel/caps.c

index adf91cfb013e876084a6693708200ea50b883c83..1ac2b698b6e72fb9b75abf285075fa9f7e46396d 100644 (file)
@@ -272,6 +272,7 @@ retry:
        spin_unlock(&inode->i_lock);
        if (is_first)
                igrab(inode);
+       wake_up(&ci->i_cap_wq);
        kfree(new_cap);
        return 0;
 }