[RHEL7,COMMIT] xfs: allow to mount xfs fs inside a Container

Submitted by Konstantin Khorenko on Oct. 12, 2017, 8:46 a.m.

Details

Message ID 201710120846.v9C8kWCj003079@finist_ce7.work
State New
Series "xfs: allow to mount xfs fs inside a Container"
Headers show

Commit Message

Konstantin Khorenko Oct. 12, 2017, 8:46 a.m.
The commit is pushed to "branch-rh7-3.10.0-693.1.1.vz7.37.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-693.1.1.vz7.37.11
------>
commit bd6e2cba2495c03f989163a0d219b145ac9a63bb
Author: Konstantin Khorenko <khorenko@virtuozzo.com>
Date:   Mon Sep 18 17:53:58 2017 +0300

    xfs: allow to mount xfs fs inside a Container
    
    Intended usecase: iSCSI devices with XFS fs inside
    passthrough-ed into a Container.
    
    https://jira.sw.ru/browse/PSBM-72401
    
    Signed-off-by: Konstantin Khorenko <khorenko@virtuozzo.com>
---
 fs/xfs/xfs_super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/fs/xfs/xfs_super.c b/fs/xfs/xfs_super.c
index 0aa0df3..932318e 100644
--- a/fs/xfs/xfs_super.c
+++ b/fs/xfs/xfs_super.c
@@ -1733,7 +1733,7 @@  static struct file_system_type xfs_fs_type = {
 	.kill_sb		= kill_block_super,
 	.fs_flags		= FS_REQUIRES_DEV | FS_HAS_RM_XQUOTA |
 				  FS_HAS_INVALIDATE_RANGE | FS_HAS_DIO_IODONE2 |
-				  FS_HAS_NEXTDQBLK,
+				  FS_HAS_NEXTDQBLK | FS_VIRTUALIZED,
 };
 MODULE_ALIAS_FS("xfs");