diff options
author | Vivek Goyal <vgoyal@redhat.com> | 2020-06-01 18:56:51 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-06-02 23:20:25 +0300 |
commit | 6815f479ca90ee7fd2e28b2a420f796b974155fe (patch) | |
tree | 2dd603ed4285d3bb0b337e3e88118547f2a97a9d /fs/overlayfs/dir.c | |
parent | 59fb20138a9b5249a4176d5bbc5c670a97343061 (diff) | |
download | linux-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