]> granicus.if.org Git - zfs/commit
Linux 4.12 compat: fix super_setup_bdi_name() call
authorLOLi <loli10K@users.noreply.github.com>
Thu, 25 May 2017 16:55:55 +0000 (18:55 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 25 May 2017 16:55:55 +0000 (09:55 -0700)
commit3e6c9433474f0b6fc4880549c851bfb151c8c719
treeeaa7418721238ebc568ada37564d309efbee401a
parent4358afa0f2cd7629de9916ce69c5e7cdd85f6803
Linux 4.12 compat: fix super_setup_bdi_name() call

Provide a format parameter to super_setup_bdi_name() so we don't
create duplicate names in '/devices/virtual/bdi' sysfs namespace which
would prevent us from mounting more than one ZFS filesystem at a time.

Reviewed-by: Chunwei Chen <david.chen@osnexus.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: loli10K <ezomori.nozomu@gmail.com>
Closes #6147
include/linux/vfs_compat.h
module/zfs/zfs_vfsops.c