Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 289136
b: refs/heads/master
c: 47de87a
h: refs/heads/master
v: v3
  • Loading branch information
Rabin Vincent authored and Greg Kroah-Hartman committed Feb 24, 2012
1 parent 34c4f73 commit 0867232
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6f6c4dc040a6b4cbed02a57a78f5d08a86d84a38
refs/heads/master: 47de87a234aac8b2121557f3903bb16bb678af67
5 changes: 5 additions & 0 deletions trunk/drivers/staging/android/logger.c
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,12 @@ static int logger_release(struct inode *ignored, struct file *file)
{
if (file->f_mode & FMODE_READ) {
struct logger_reader *reader = file->private_data;
struct logger_log *log = reader->log;

mutex_lock(&log->mutex);
list_del(&reader->list);
mutex_unlock(&log->mutex);

kfree(reader);
}

Expand Down

0 comments on commit 0867232

Please sign in to comment.