]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: set m_finobt_nores when initializing library
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 6 Jun 2019 13:58:50 +0000 (08:58 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 6 Jun 2019 13:58:50 +0000 (08:58 -0500)
commitf747f7ddd3f5bc5b73b7b2632f3f61d7a98bb809
tree91663ad9a61f03ddb63e85f6e17eb2d39254f0ab
parent6778635b78e838e1c04e9c9d76ad92d9adbaca8d
libxfs: set m_finobt_nores when initializing library

We don't generally set up per-ag reservations in userspace, so set this
flag to true to force transactions to set up block reservations.  This
isn't necessary for userspace (since we never touch the finobt) but we
shouldn't leave a logic bomb.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/init.c