ovl: Get rid of ovl_xattr_noacl_handlers array
authorAndreas Gruenbacher <agruenba@redhat.com>
Mon, 22 Aug 2016 14:36:49 +0000 (16:36 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Thu, 1 Sep 2016 09:11:59 +0000 (11:11 +0200)
commit0c97be22f928b85110504c4bbb8574facb4bd0c0
tree3be9e72efa0eb6e0f01033acc9d268c1963006b4
parentfe2b75952347762a21f67d9df1199137ae5988b2
ovl: Get rid of ovl_xattr_noacl_handlers array

Use an ordinary #ifdef to conditionally include the POSIX ACL handlers
in ovl_xattr_handlers, like the other filesystems do.  Flag the code
that is now only used conditionally with __maybe_unused.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/super.c