ovl: store 'has_upper' and 'opaque' as bit flags
authorAmir Goldstein <amir73il@gmail.com>
Sun, 14 Jan 2018 17:25:31 +0000 (19:25 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 24 Jan 2018 10:25:58 +0000 (11:25 +0100)
commitc62520a83bceae0bb0b7b3de10c3e81205cd3823
treef94b1fca8653e0a659d729859b188a74caaebaec
parentaa3ff3c152ff94ef045ed802db7535167f8a21ab
ovl: store 'has_upper' and 'opaque' as bit flags

We need to make some room in struct ovl_entry to store information
about redirected ancestors for NFS export, so cram two booleans as
bit flags.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/namei.c
fs/overlayfs/overlayfs.h
fs/overlayfs/ovl_entry.h
fs/overlayfs/super.c
fs/overlayfs/util.c