Remove unnecessary panic() in rread()
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 Apr 2019 03:34:33 +0000 (23:34 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 Apr 2019 03:34:33 +0000 (23:34 -0400)
commit823453caedeb3c7c92a8c10a6cdfccdc0b074f3c
treee26cb97d5e8cc61f67c48cb180c51149141ca2b8
parent5fe486edbcc022cd8395a9913692beb5f5709ad8
Remove unnecessary panic() in rread()

Ultimately, we throw an error when attempting to do a short read on a
directory.

Reported-by: syzbot+fbc1784c73dfdf878652@syzkaller.appspotmail.com
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/ns/sysfile.c