]> www.infradead.org Git - mtd-utils.git/commit
mkfs.ubifs: Fix build with SELinux
authorBastian Germann <bastiangermann@fishpost.de>
Tue, 22 Sep 2020 21:14:37 +0000 (23:14 +0200)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Wed, 23 Sep 2020 11:03:17 +0000 (13:03 +0200)
commit4d9adbb8620600923117790d96f2d16717ae0907
treeb7b2a57a251a0cac66944e87bafb00243d23cab9
parent763a4b3a17e3fb4ab67c6105e06df891e60471bc
mkfs.ubifs: Fix build with SELinux

In v2.1.0, SELinux support was introduced. It never compiled with ubifs
because it uses the old add_xattr signature that also changed in v2.1.0
with a1bd316e23("mkfs.ubifs: Implement fscrypto context store as xattr").

Add the ubifs_ino_node and name to the call and remove the nm that is
contructed in the new function version.

Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/mkfs.ubifs/mkfs.ubifs.c