diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2017-06-28 13:41:22 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2017-06-28 13:41:22 +0200 |
commit | fbaf94ee3cd5cfa85fe2d4d04be968820cb00556 (patch) | |
tree | bacfa95214738bc69f996ce708bbb3afc789b3d6 /drivers/xen/tmem.c | |
parent | e85f82ff9b8ef503923a3be8ca6b5fd1908a7f3f (diff) | |
download | linux-fbaf94ee3cd5cfa85fe2d4d04be968820cb00556.tar.bz2 |
ovl: don't set origin on broken lower hardlink
When copying up a file that has multiple hard links we need to break any
association with the origin file. This makes copy-up be essentially an
atomic replace.
The new file has nothing to do with the old one (except having the same
data and metadata initially), so don't set the overlay.origin attribute.
We can relax this in the future when we are able to index upper object by
origin.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Fixes: 3a1e819b4e80 ("ovl: store file handle of lower inode on copy up")
Diffstat (limited to 'drivers/xen/tmem.c')
0 files changed, 0 insertions, 0 deletions