]> git.baikalelectronics.ru Git - kernel.git/commit
ovl: strict upper fs requirements for remote upper fs
authorAmir Goldstein <amir73il@gmail.com>
Thu, 20 Feb 2020 07:03:08 +0000 (09:03 +0200)
committerMiklos Szeredi <mszeredi@redhat.com>
Tue, 17 Mar 2020 14:04:23 +0000 (15:04 +0100)
commit0e5221e0a3facdb68eb6d25885201800dfcf6cb4
tree46ab061bce82dbbbd3d553236d09cc2449efad91
parent49d40ce3998e1504c6105d67c8c606c5958d81b5
ovl: strict upper fs requirements for remote upper fs

Overlayfs works sub-optimally with upper fs that has no xattr/d_type/
RENAME_WHITEOUT support. We should basically deprecate support for those
filesystems, but so far, we only issue a warning and don't fail the mount
for the sake of backward compat.  Some features are already being disabled
with no xattr support.

For newly supported remote upper fs, we do not need to worry about backward
compatibility, so we can fail the mount if upper fs is a sub-optimal
filesystem.

This reduces the in-tree remote filesystems supported as upper to just
FUSE, for which the remote upper fs support was added.

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