give readdir(2)/getdents(2)/etc. uniform exclusion with lseek()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 20 Apr 2016 21:08:21 +0000 (17:08 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 2 May 2016 23:49:28 +0000 (19:49 -0400)
commit63b6df14134ddd048984c8afadb46e721815bfc6
tree7fecdc7f3ee6d9780b3fa5328a0acd1bb739b16e
parent9902af79c01a8e39bb99b922fa3eef6d4ea23d69
give readdir(2)/getdents(2)/etc. uniform exclusion with lseek()

same as read() on regular files has, and for the same reason.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/alpha/kernel/osf_sys.c
fs/compat.c
fs/file.c
fs/open.c
fs/read_write.c
fs/readdir.c
include/linux/file.h