Re: [RFC PATCH 31/68] vfs: Convert qib_fs/ipathfs to use the new mount API

From: Dennis Dalessandro
Date: Tue Apr 09 2019 - 13:15:05 EST


On 3/27/2019 7:44 PM, David Howells wrote:
Convert the qib_fs/ipathfs filesystem to the new internal mount API as the old
one will be obsoleted and removed. This allows greater flexibility in
communication of mount parameters between userspace, the VFS and the
filesystem.

See Documentation/filesystems/mount_api.txt for more information.

[Q] Can qib_remove() race with qibfs_kill_super()? Should qib_super
accesses be serialised with some sort of lock?

Sure looks to be possible to me. Although I don't think that's a reason not to apply your patch, you aren't making it any worse I don't think.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
cc: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>
cc: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
cc: linux-rdma@xxxxxxxxxxxxxxx

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>