summaryrefslogtreecommitdiffstats
path: root/fs/jfs
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2018-03-09 15:44:43 -0500
committerMiklos Szeredi <mszeredi@redhat.com>2018-04-12 12:04:49 +0200
commit102b0d11cbe83e607a8e9060c05930905332f9ec (patch)
treecd05df92289ee28d57a8ce50d71ed4be6d830b30 /fs/jfs
parente9b77f90cc2307f6d2457696d3d76288a5df11fc (diff)
downloadlinux-stable-102b0d11cbe83e607a8e9060c05930905332f9ec.tar.gz
linux-stable-102b0d11cbe83e607a8e9060c05930905332f9ec.tar.bz2
linux-stable-102b0d11cbe83e607a8e9060c05930905332f9ec.zip
ovl: set d->is_dir and d->opaque for last path element
Certain properties in ovl_lookup_data should be set only for the last element of the path. IOW, if we are calling ovl_lookup_single() for an absolute redirect, then d->is_dir and d->opaque do not make much sense for intermediate path elements. Instead set them only if dentry being lookup is last path element. As of now we do not seem to be making use of d->opaque if it is set for a path/dentry in lower. But just define the semantics so that future code can make use of this assumption. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions