orangefs: don't put readdir slot twice
authorMartin Brandenburg <martin@omnibond.com>
Mon, 28 Mar 2016 21:18:27 +0000 (17:18 -0400)
committerMartin Brandenburg <martin@omnibond.com>
Thu, 31 Mar 2016 16:06:00 +0000 (12:06 -0400)
commit641bb3246dbb64c0b4a0b6dfa6a024e82c155533
tree7bec53fea5f180d2f90e27a83d64f74b331c1984
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
orangefs: don't put readdir slot twice

This was quite an oversight. After a readdir, the module could not be
unloaded, the number of slots is wrong, and memory near the slot bitmap
is possibly corrupt. Oops.

Signed-off-by: Martin Brandenburg <martin@omnibond.com>
fs/orangefs/dir.c