Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348118
b: refs/heads/master
c: 8bbca57
h: refs/heads/master
v: v3
  • Loading branch information
Wei Yongjun authored and Tyler Hicks committed Dec 18, 2012
1 parent 3331204 commit f1871fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4bc6522d53b7b8eb02cfac35fd18275fd86269d
refs/heads/master: 8bbca57cff7f1b1fd046eebd1e9497a00161c2c1
6 changes: 3 additions & 3 deletions trunk/fs/ecryptfs/kthread.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ int __init ecryptfs_init_kthread(void)

void ecryptfs_destroy_kthread(void)
{
struct ecryptfs_open_req *req;
struct ecryptfs_open_req *req, *tmp;

mutex_lock(&ecryptfs_kthread_ctl.mux);
ecryptfs_kthread_ctl.flags |= ECRYPTFS_KTHREAD_ZOMBIE;
list_for_each_entry(req, &ecryptfs_kthread_ctl.req_list,
kthread_ctl_list) {
list_for_each_entry_safe(req, tmp, &ecryptfs_kthread_ctl.req_list,
kthread_ctl_list) {
list_del(&req->kthread_ctl_list);
*req->lower_file = ERR_PTR(-EIO);
complete(&req->done);
Expand Down

0 comments on commit f1871fb

Please sign in to comment.