diff options
| author | 2018-12-12 08:46:20 -0800 | |
|---|---|---|
| committer | 2018-12-12 08:46:20 -0800 | |
| commit | fe5ed6c22e94b131ed5608d66ebce1efc39a7edb (patch) | |
| tree | ec8459076d766822547c8e2eb00e8249461b89f3 /fs/xfs/xfs_inode.c | |
| parent | xfs: split up the xfs_reflink_end_cow work into smaller transactions (diff) | |
| download | linux-dev-fe5ed6c22e94b131ed5608d66ebce1efc39a7edb.tar.xz linux-dev-fe5ed6c22e94b131ed5608d66ebce1efc39a7edb.zip | |
xfs: libxfs: move xfs_perag_put late
The function xfs_alloc_get_freelist calls xfs_perag_put to drop the
reference. However, pag->pagf_btreeblks is read and written after the
put operation. This patch moves the put operation later.
Signed-off-by: Pan Bian <bianpan2016@163.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
[darrick: minor changelog edits]
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Diffstat (limited to 'fs/xfs/xfs_inode.c')
0 files changed, 0 insertions, 0 deletions
