aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_fsops.c
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2018-06-21 23:26:55 -0700
committerDarrick J. Wong <darrick.wong@oracle.com>2018-06-24 11:56:35 -0700
commit10ee25268e1f8475905e1deb85bb83627dca561e (patch)
tree2a897617e8b22c0f8e2e41c0c935082b6ffb4389 /fs/xfs/xfs_fsops.c
parente53946dbd31a21f4bef155f8febba556933d62bf (diff)
downloadlinux-10ee25268e1f8475905e1deb85bb83627dca561e.tar.gz
xfs: allow empty transactions while frozen
In commit e89c041338ed6ef ("xfs: implement the GETFSMAP ioctl") we created the ability to obtain empty transactions. These transactions have no log or block reservations and therefore can't modify anything. Since they're also NO_WRITECOUNT they can run while the fs is frozen, so we don't need to WARN_ON about that usage. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Allison Henderson <allison.henderson@oracle.com> Reviewed-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'fs/xfs/xfs_fsops.c')
0 files changed, 0 insertions, 0 deletions