um: hostfs: Reduce number of syscalls in readdir
authorRichard Weinberger <richard@nod.at>
Tue, 24 Mar 2015 14:47:38 +0000 (15:47 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 13 Apr 2015 19:01:07 +0000 (21:01 +0200)
Currently hostfs issues every time a seekdir(), in fact
it has to do this only upon the first call.
Also telldir() can be omitted as we can obtain the directory
offset from readdir().

Signed-off-by: Richard Weinberger <richard@nod.at>
fs/hostfs/hostfs.h
fs/hostfs/hostfs_kern.c
fs/hostfs/hostfs_user.c

Simple merge
Simple merge
Simple merge