git: kernel: more precious errors from read()ing hammer and hammer2
Daniel Fojt
deef at crater.dragonflybsd.org
Mon Jun 8 06:35:24 PDT 2020
commit 3b62e6841e5d771657518c588d10e1e21be1c95a
Author: Daniel Fojt <df at neosystem.org>
Date: Mon Jun 8 14:42:10 2020 +0200
kernel: more precious errors from read()ing hammer and hammer2
To conform POSIX, return EISDIR instead of EINVAL when trying to read(2)
a directory from hammer or hammer2 filesystem.
Discussed with and reviewed by: Sascha Wildner
Summary of changes:
sys/vfs/hammer/hammer_vnops.c | 2 ++
sys/vfs/hammer2/hammer2_vnops.c | 2 ++
2 files changed, 4 insertions(+)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3b62e6841e5d771657518c588d10e1e21be1c95a
--
DragonFly BSD source repository
More information about the Commits
mailing list