]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4ec2034d33276982adc24548c84d3def37cb5613
tree7bec53fea5f180d2f90e27a83d64f74b331c1984
parent3039f62d3fccb077513a4ffae4d1ef4609c1b724
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