]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: use ->t_dfops in log recovery intent processing
authorBrian Foster <bfoster@redhat.com>
Tue, 24 Jul 2018 20:43:08 +0000 (13:43 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Thu, 26 Jul 2018 17:15:12 +0000 (10:15 -0700)
commit92c015b2b87f7798d6637e0c7652d4c1c866c984
tree3a360cb10302c72f9e95800810ca2b32abfef40c
parenta06a41e5c79b607df9b75b090d405e2045c5575b
xfs: use ->t_dfops in log recovery intent processing

xlog_finish_defer_ops() processes the deferred operations collected
over the entire intent recovery sequence. We can't xfs_defer_init()
here because the dfops is already populated. Attach it manually and
eliminate the last caller of xfs_defer_finish() that doesn't pass
->t_dfops.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_log_recover.c