]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerShan Hai <shan.hai@oracle.com>
Fri, 4 Aug 2017 05:53:34 +0000 (13:53 +0800)
commit3e0c24445cbc8c573e11573e4aab2078873e1be7
tree53f7fb0bf09a0794491060c1589980425fe59bd7
parent713229209ff71684129388ed051fe20fcf55f1e0
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>
Orabug: 26401569

(backport upstream commit 0c97be22f928b85110504c4bbb8574facb4bd0c0)

Signed-off-by: Shan Hai <shan.hai@oracle.com>
Reviewed-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
fs/overlayfs/super.c