]> 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)
commit3d3d8d99918735ff1dd34e08893b15d2dabbb76e
tree9af1a639bd7a26c7c4d77506eef615153fef2a79
parente4cc8e16fc7d7b7b0e082d62a9c7a866a947eb04
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