]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
ovl: use ovl_inode mutex to synchronize concurrent copy up
authorAmir Goldstein <amir73il@gmail.com>
Wed, 21 Jun 2017 12:28:51 +0000 (15:28 +0300)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 4 Jul 2017 20:03:16 +0000 (22:03 +0200)
commita015dafcaf5b0316654a39bc598a76804595af90
tree1a7e80fd1904519c9642b6549ad9f32bd5ab4d96
parent13c72075ac9f5a5cf3f61c85adaafffe48a6f797
ovl: use ovl_inode mutex to synchronize concurrent copy up

Use the new ovl_inode mutex to synchonize concurrent copy up
instead of the super block copy up workqueue.

Moving the synchronization object from the overlay dentry to
the overlay inode is needed for synchonizing concurrent copy up
of lower hardlinks to the same upper inode.

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