]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: use ->t_dfops for attr set/remove operations
authorBrian Foster <bfoster@redhat.com>
Thu, 4 Oct 2018 19:26:01 +0000 (14:26 -0500)
committerEric Sandeen <sandeen@redhat.com>
Thu, 4 Oct 2018 19:26:01 +0000 (14:26 -0500)
commite599d8b9b0b94903478183202339e23b4f58da6c
treea4b4572ef0b63fa2980b1a2049cf29a08d520693
parent44be382210d5b7f88f12bc774102fb02f7a78587
xfs: use ->t_dfops for attr set/remove operations

Source kernel commit: 40d03ac6aa2bebe05190462734690472310167e4

Attach the local dfops to the transaction allocated for xattr add
and remove operations. Add an earlier initialization in
xfs_attr_remove() to ensure the structure is valid if it remains
unused at transaction commit time.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_attr.c
libxfs/xfs_bmap.c