diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-12-18 14:25:57 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-12-18 14:25:57 -0800 |
commit | 8b4414f51d098ca6f9fa3c6b6b31926f3b45d4bc (patch) | |
tree | b2d955d6a43db368b7d4bdd786b3f3020acee07b /fs | |
parent | 65d70e79cdb96b208c72a30b34525a850ee640cb (diff) | |
parent | 1d5cda4076d930d6d52088ed2c7753f7c564cbd7 (diff) | |
download | linux-8b4414f51d098ca6f9fa3c6b6b31926f3b45d4bc.tar.bz2 |
Merge branch 'akpm' (patches from Andrew)
Merge misc fixes from Andrew Morton:
"Three patches"
* emailed patches from Andrew Morton <akpm@linux-foundation.org>:
include/linux/mmdebug.h: should include linux/bug.h
mm/zswap: change incorrect strncmp use to strcmp
proc: fix -ESRCH error when writing to /proc/$pid/coredump_filter
Diffstat (limited to 'fs')
-rw-r--r-- | fs/proc/base.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index bd3e9e68125b..4bd5d3118acd 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -2494,6 +2494,7 @@ static ssize_t proc_coredump_filter_write(struct file *file, mm = get_task_mm(task); if (!mm) goto out_no_mm; + ret = 0; for (i = 0, mask = 1; i < MMF_DUMP_FILTER_BITS; i++, mask <<= 1) { if (val & mask) |