This is a partial revert (with some cleanups) of commit 993a0b2aec ("ovl: Do not lose security.capability xattr over metadata file copy-up"), which introduced ovl_getxattr() in the first place. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
993a0b2aec