summaryrefslogtreecommitdiff
path: root/fs/overlayfs/dir.c
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2020-06-01 18:56:51 +0300
committerMiklos Szeredi <mszeredi@redhat.com>2020-06-02 23:20:25 +0300
commit6815f479ca90ee7fd2e28b2a420f796b974155fe (patch)
tree2dd603ed4285d3bb0b337e3e88118547f2a97a9d /fs/overlayfs/dir.c
parent59fb20138a9b5249a4176d5bbc5c670a97343061 (diff)
downloadlinux-6815f479ca90ee7fd2e28b2a420f796b974155fe.tar.xz
ovl: use only uppermetacopy state in ovl_lookup()
Currently we use a variable "metacopy" which signifies that dentry could be either uppermetacopy or lowermetacopy. Amir suggested that we can move code around and use d.metacopy in such a way that we don't need lowermetacopy and just can do away with uppermetacopy. So this patch replaces "metacopy" with "uppermetacopy". It also moves some code little higher to keep reading little simpler. Suggested-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Amir Goldstein <amir73il@gmail.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/overlayfs/dir.c')
0 files changed, 0 insertions, 0 deletions