]> git.itanic.dy.fi Git - linux-stable/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)
commit1d7095c72d35eee4ebc28e66563e636b9adafeb2
tree9af1a639bd7a26c7c4d77506eef615153fef2a79
parent801d9d26bfd6e88e9cf0efbb30b649d1bdc15dcf
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