Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243189
b: refs/heads/master
c: 50f198a
h: refs/heads/master
i:
  243187: 8ecd40d
v: v3
  • Loading branch information
Tyler Hicks committed Mar 28, 2011
1 parent 9f95b9b commit 975df0d
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: 57db4e8d73ef2b5e94a3f412108dff2576670a8a
refs/heads/master: 50f198ae16ac66508d4b8d5a40967a8507ad19ee
5 changes: 5 additions & 0 deletions trunk/fs/ecryptfs/mmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,11 @@ static int ecryptfs_write_begin(struct file *file,
&& (pos != 0))
zero_user(page, 0, PAGE_CACHE_SIZE);
out:
if (unlikely(rc)) {
unlock_page(page);
page_cache_release(page);
*pagep = NULL;
}
return rc;
}

Expand Down

0 comments on commit 975df0d

Please sign in to comment.