diff options
author | Amir Goldstein | 2017-04-23 22:12:34 +0200 |
---|---|---|
committer | Miklos Szeredi | 2017-05-05 11:38:58 +0200 |
commit | 595485033db2c24178257698254fd4182fdb4123 (patch) | |
tree | 3bf250eaea47937c85a65df72af321be67ac78b3 /lib/atomic64.c | |
parent | ovl: lookup non-dir copy-up-origin by file handle (diff) | |
download | kernel-qcow2-linux-595485033db2c24178257698254fd4182fdb4123.tar.gz kernel-qcow2-linux-595485033db2c24178257698254fd4182fdb4123.tar.xz kernel-qcow2-linux-595485033db2c24178257698254fd4182fdb4123.zip |
ovl: set the ORIGIN type flag
For directory entries, non zero oe->numlower implies OVL_TYPE_MERGE.
Define a new type flag OVL_TYPE_ORIGIN to indicate that an entry holds a
reference to its lower copy up origin.
For directory entries ORIGIN := MERGE && UPPER. For non-dir entries ORIGIN
means that a lower type dentry has been recently copied up or that we were
able to find the copy up origin from overlay.origin xattr.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions