diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2016-12-05 02:31:31 +0100 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-12-05 02:31:31 +0100 |
commit | 200237d6746faaeaf7f4ff4abbf13f3917cee60a (patch) | |
tree | ce673685afb42bc407116ef7c051ef2364649928 /fs/xfs/xfs_file.c | |
parent | xfs: set AGI buffer type in xlog_recover_clear_agi_bucket (diff) | |
download | linux-200237d6746faaeaf7f4ff4abbf13f3917cee60a.tar.xz linux-200237d6746faaeaf7f4ff4abbf13f3917cee60a.zip |
xfs: Move AGI buffer type setting to xfs_read_agi
We've missed properly setting the buffer type for
an AGI transaction in 3 spots now, so just move it
into xfs_read_agi() and set it if we are in a transaction
to avoid the problem in the future.
This is similar to how it is done in i.e. the dir3
and attr3 read functions.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_file.c')
0 files changed, 0 insertions, 0 deletions