]> git.baikalelectronics.ru Git - kernel.git/commit
qnx6: qnx6_readdir() has a braino in pos calculation
authorAl Viro <viro@zeniv.linux.org.uk>
Fri, 17 May 2013 19:21:56 +0000 (15:21 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 31 May 2013 19:17:31 +0000 (15:17 -0400)
commitaa51df6ba8d1b6f4f8269708b8b1457a06815410
tree9af1a639bd7a26c7c4d77506eef615153fef2a79
parent96106b98b57c1a603bc286d644a80273d07417dd
qnx6: qnx6_readdir() has a braino in pos calculation

We want to mask lower 5 bits out, not leave only those and clear the
rest...  As it is, we end up always starting to read from the beginning
of directory, no matter what the current position had been.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/qnx6/dir.c