]> 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)
commita1e655baacb2867d5c6e038b13a19e19113a326d
tree7bec53fea5f180d2f90e27a83d64f74b331c1984
parentc40b63c04950cd745a34a62bdf37894058201eab
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