aboutsummaryrefslogtreecommitdiffstats
path: root/fs/nfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/nfs/super.c')
-rw-r--r--fs/nfs/super.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c
index 001f9cb2804b..0f9ea73e7789 100644
--- a/fs/nfs/super.c
+++ b/fs/nfs/super.c
@@ -2501,7 +2501,8 @@ static void nfs4_clone_super(struct super_block *sb,
2501 * so ourselves when necessary. 2501 * so ourselves when necessary.
2502 */ 2502 */
2503 sb->s_flags |= MS_POSIXACL; 2503 sb->s_flags |= MS_POSIXACL;
2504 nfs_initialise_sb(sb); 2504 sb->s_xattr = old_sb->s_xattr;
2505 nfs_initialise_sb(sb);
2505} 2506}
2506 2507
2507/* 2508/*
@@ -2516,6 +2517,7 @@ static void nfs4_fill_super(struct super_block *sb)
2516 * so ourselves when necessary. 2517 * so ourselves when necessary.
2517 */ 2518 */
2518 sb->s_flags |= MS_POSIXACL; 2519 sb->s_flags |= MS_POSIXACL;
2520 sb->s_xattr = nfs4_xattr_handlers;
2519 nfs_initialise_sb(sb); 2521 nfs_initialise_sb(sb);
2520} 2522}
2521 2523