Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263729
b: refs/heads/master
c: 5dfcc87
h: refs/heads/master
i:
  263727: 691f239
v: v3
  • Loading branch information
Miklos Szeredi authored and Linus Torvalds committed Sep 12, 2011
1 parent 04631f7 commit 57d48b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 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: 24114504c4d585ec4aae7a2b2acb81bf741f8c8a
refs/heads/master: 5dfcc87fd79dfb96ed155b524337dbd0da4f5993
12 changes: 8 additions & 4 deletions trunk/fs/fuse/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,10 +258,14 @@ void fuse_queue_forget(struct fuse_conn *fc, struct fuse_forget_link *forget,
forget->forget_one.nlookup = nlookup;

spin_lock(&fc->lock);
fc->forget_list_tail->next = forget;
fc->forget_list_tail = forget;
wake_up(&fc->waitq);
kill_fasync(&fc->fasync, SIGIO, POLL_IN);
if (fc->connected) {
fc->forget_list_tail->next = forget;
fc->forget_list_tail = forget;
wake_up(&fc->waitq);
kill_fasync(&fc->fasync, SIGIO, POLL_IN);
} else {
kfree(forget);
}
spin_unlock(&fc->lock);
}

Expand Down

0 comments on commit 57d48b3

Please sign in to comment.