]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: don't touch buffer log item pointer when flushing inode log item
authorDarrick J. Wong <darrick.wong@oracle.com>
Fri, 26 Apr 2019 21:50:48 +0000 (16:50 -0500)
committerEric Sandeen <sandeen@redhat.com>
Fri, 26 Apr 2019 21:50:48 +0000 (16:50 -0500)
commitbb58193c04cfa677d76a7a309747491a11c86355
tree7083179baba0a2bf233a96f6599ba6c5eea48cb9
parent8cc858fbff97671284ed979e2c0d23ff6a3f8ddf
libxfs: don't touch buffer log item pointer when flushing inode log item

When we're flushing an inode log item, it is not necessary to mess with
the inode cluster buffer's log item because the iflush code paths pass
the inode log item directly.  The unconditional reset causes us to leak
buffer log items.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Reviewed-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/trans.c
libxfs/util.c