]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit0c9bd6365d0b278728359843b8303047ddedb831
tree086abfcb95b657832d2e318ca5c3fa47822c8689
parenta98a6d864d3b84219a6ec6213b00c260fb52f9f4
um: hostfs: Reduce number of syscalls in readdir

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