diff --git a/fs/xfs/xfs_inode.c b/fs/xfs/xfs_inode.c index 9959b6287bea16f8e088bac5b18a4090c778c676..c903b6a0ef1487da0424e996f9e8df9a3ef8c0df 100644 --- a/fs/xfs/xfs_inode.c +++ b/fs/xfs/xfs_inode.c @@ -1208,6 +1208,7 @@ xfs_create( unlock_dp_on_error = true; xfs_defer_init(&dfops, &first_block); + tp->t_agfl_dfops = &dfops; /* * Reserve disk quota and the inode. diff --git a/fs/xfs/xfs_symlink.c b/fs/xfs/xfs_symlink.c index 5b66ac12913c2184a49549ed3da0b66a6d7410de..88643a8fd4879a6e9c039536104bbed1ed904725 100644 --- a/fs/xfs/xfs_symlink.c +++ b/fs/xfs/xfs_symlink.c @@ -259,6 +259,7 @@ xfs_symlink( * bmapi or the directory create code. */ xfs_defer_init(&dfops, &first_block); + tp->t_agfl_dfops = &dfops; /* * Allocate an inode for the symlink.