Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1443403
| From | Miklos Szeredi <miklos@szeredi.hu> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ovl: fix link error without POSIX ACL |
| Date | 2016-07-14 14:20 +0200 |
| Message-ID | <rUNMu-19G-25@gated-at.bofh.it> (permalink) |
| References | <rULB0-81N-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Jul 14, 2016 at 11:54 AM, Arnd Bergmann <arnd@arndb.de> wrote: > The latest fix for ACL on overlayfs introduced a link error: > > fs/built-in.o: In function `ovl_posix_acl_xattr_set': > file.c:(.text+0x6b320): undefined reference to `posix_acl_from_xattr' > > posix_acl_from_xattr doesn't have a 'static inline' implementation when > CONFIG_FS_POSIX_ACL is disabled, and I could not come up with an obvious > way to do it. > > This instead avoids the link error by defining two sets of ACL operations > and letting the compiler drop one of the two at compile time depending > on CONFIG_FS_POSIX_ACL. This avoids all references to the ACL code, > also leading to smaller code. Thanks, pushed. Miklos
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ovl: fix link error without POSIX ACL Arnd Bergmann <arnd@arndb.de> - 2016-07-14 12:00 +0200 Re: [PATCH] ovl: fix link error without POSIX ACL Miklos Szeredi <miklos@szeredi.hu> - 2016-07-14 14:20 +0200
csiph-web