git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-torvalds' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[pandora-kernel.git]
/
security
/
tomoyo
/
common.c
diff --git
a/security/tomoyo/common.c
b/security/tomoyo/common.c
index
2b7b1a1
..
a0d09e5
100644
(file)
--- a/
security/tomoyo/common.c
+++ b/
security/tomoyo/common.c
@@
-108,10
+108,9
@@
static bool tomoyo_flush(struct tomoyo_io_buffer *head)
head->read_user_buf += len;
w += len;
}
- if (*w) {
- head->r.w[0] = w;
+ head->r.w[0] = w;
+ if (*w)
return false;
- }
/* Add '\0' for query. */
if (head->poll) {
if (!head->read_user_buf_avail ||