diff options
author | Andrey Vagin | 2016-06-24 23:50:27 +0200 |
---|---|---|
committer | Linus Torvalds | 2016-06-25 02:23:52 +0200 |
commit | 5a9294e5c535deab69831076af15cd35e1c95f8b (patch) | |
tree | a13064c643cfc7e5ea8af20fdb20d971f67329f4 /init/main.c | |
parent | mm/page_owner: avoid null pointer dereference (diff) | |
download | kernel-qcow2-linux-5a9294e5c535deab69831076af15cd35e1c95f8b.tar.gz kernel-qcow2-linux-5a9294e5c535deab69831076af15cd35e1c95f8b.tar.xz kernel-qcow2-linux-5a9294e5c535deab69831076af15cd35e1c95f8b.zip |
autofs: don't get stuck in a loop if vfs_write() returns an error
__vfs_write() returns a negative value in a error case.
Link: http://lkml.kernel.org/r/20160616083108.6278.65815.stgit@pluto.themaw.net
Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions