ovl: enumerate private xattrs
authorMiklos Szeredi <mszeredi@redhat.com>
Wed, 2 Sep 2020 08:58:49 +0000 (10:58 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 2 Sep 2020 08:58:49 +0000 (10:58 +0200)
commit43d193f8440d67f0dddd93ae973eb94174039e83
treee2914cc8d90bdc866cbc9bd961a29946e307a1b7
parent610afc0bd40882181718be2ae1e0264466bba2c7
ovl: enumerate private xattrs

Instead of passing the xattr name down to the ovl_do_*xattr() accessor
functions, pass an enumerated value.  The enum can use the same names as
the the previous #define for each xattr name.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/namei.c
fs/overlayfs/overlayfs.h
fs/overlayfs/util.c