diff options
author | Amir Goldstein <amir73il@gmail.com> | 2018-01-11 07:25:32 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2018-01-24 10:19:54 +0100 |
commit | 051224438af21047b34160b1e0ad1c5af45fdace (patch) | |
tree | 236eb05c06c40ca34f1e89f9aee63fe613c58c28 /fs/9p | |
parent | ovl: simplify arguments to ovl_check_origin_fh() (diff) | |
download | linux-051224438af21047b34160b1e0ad1c5af45fdace.tar.xz linux-051224438af21047b34160b1e0ad1c5af45fdace.zip |
ovl: generalize ovl_verify_origin() and helpers
Remove the "origin" language from the functions that handle set, get
and verify of "origin" xattr and pass the xattr name as an argument.
The same helpers are going to be used for NFS export to get, get and
verify the "upper" xattr for directory index entries.
ovl_verify_origin() is now a helper used only to verify non upper
file handle stored in "origin" xattr of upper inode.
The upper root dir file handle is still stored in "origin" xattr on
the index dir for backward compatibility. This is going to be changed
by the patch that adds directory index entries support.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/9p')
0 files changed, 0 insertions, 0 deletions