git: DragonFly_RELEASE_5_8 kernel: more precious errors from read()ing hammer and hammer2
Daniel Fojt
deef at crater.dragonflybsd.org
Fri Jun 12 05:50:51 PDT 2020
commit aa00caa9ce19a1f5e25a349067124b20c5910366
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/aa00caa9ce19a1f5e25a349067124b20c5910366
--
DragonFly BSD source repository
More information about the Commits
mailing list