]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
qib_fs: fix (some) dcache abuses
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 13 Nov 2013 12:52:33 +0000 (07:52 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 13 Nov 2013 13:08:19 +0000 (08:08 -0500)
commit441a9d0e1e827e6433e3487145fbb0c5513301e2
tree853602df86aeb2b95d955e40edddce774aed52b0
parentede4cebce16f5643c61aedd6d88d9070a1d23a68
qib_fs: fix (some) dcache abuses

* lookup_one_len() really wants i_mutex held on directory.
* leaks galore - just mount ipathfs, then
cd /sys/bus/pci/drivers/qib_ib; echo *:*:*.* >unbind
on a box with that card present and try to umount ipathfs...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/infiniband/hw/qib/qib_fs.c