ANDROID: add flags variable to nfs4_xattr_get_nfs4_user()

nfs4 just got xattr support, so add the required extra "flags" variable
as Android has an out-of-tree patch that adds this to all of these
callbacks.

Bug: 133515582
Bug: 136124883
Bug: 129319403
Cc: Mark Salyzyn <salyzyn@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4260d16eb469047f62b37c8226c2c1c9cd04cf75
This commit is contained in:
Greg Kroah-Hartman 2020-08-17 09:24:44 +02:00
parent df7e491a37
commit 4aeb613af6

View File

@ -7498,7 +7498,8 @@ static int nfs4_xattr_set_nfs4_user(const struct xattr_handler *handler,
static int nfs4_xattr_get_nfs4_user(const struct xattr_handler *handler,
struct dentry *unused, struct inode *inode,
const char *key, void *buf, size_t buflen)
const char *key, void *buf, size_t buflen,
int flags)
{
struct nfs_access_entry cache;
ssize_t ret;