commit aa00caa9ce19a1f5e25a349067124b20c5910366
Author: Daniel Fojt <[email protected]>
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