]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: index all non-dir on copy up for NFS export
authorAmir Goldstein <amir73il@gmail.com>
Tue, 21 Nov 2017 22:08:21 +0000 (00:08 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Wed, 24 Jan 2018 10:25:54 +0000 (11:25 +0100)
commit7a982a6968e9f3a520e1e591a0a6a9d8b49a6e12
tree23b19fd40218d8651c6b38fa7190f9b2f931665d
parentddf3aaa87978c5c8a866363e3636082835981f07
ovl: index all non-dir on copy up for NFS export

With the NFS export feature enabled, all non-dir are indexed on copy up.
The copy up origin inode of an indexed non-dir can be used as a unique
identifier of the overlay object.

The full index is also used for consistency verfication, like detecting
multiple non-hardlink uppers with the same 'origin' on lookup.

Directory index on copy up will be implemented by following patch.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
fs/overlayfs/util.c