https://github.com/torvalds/linux
Revision fbaf94ee3cd5cfa85fe2d4d04be968820cb00556 authored by Miklos Szeredi on 28 June 2017, 11:41:22 UTC, committed by Miklos Szeredi on 28 June 2017, 11:41:22 UTC
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")
1 parent e85f82f
Raw File
Tip revision: fbaf94ee3cd5cfa85fe2d4d04be968820cb00556 authored by Miklos Szeredi on 28 June 2017, 11:41:22 UTC
ovl: don't set origin on broken lower hardlink
Tip revision: fbaf94e
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.
back to top