diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-01-19 18:57:08 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-01-19 18:57:08 +0100 |
commit | ec2d264ae4bb624f1b48a6f6ee1c47d7ea385f0a (patch) | |
tree | 6fc6cd0aaece1ebc202d6bc58847a3f9146f3684 /fs | |
parent | Merge tag '6.8-rc-smb-server-fixes-part2' of git://git.samba.org/ksmbd (diff) | |
parent | xfs: fix backwards logic in xfs_bmap_alloc_account (diff) | |
download | linux-ec2d264ae4bb624f1b48a6f6ee1c47d7ea385f0a.tar.xz linux-ec2d264ae4bb624f1b48a6f6ee1c47d7ea385f0a.zip |
Merge tag 'xfs-6.8-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux
Pull xfs fix from Chandan Babu:
- Fix per-inode space accounting bug
* tag 'xfs-6.8-merge-4' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
xfs: fix backwards logic in xfs_bmap_alloc_account
Diffstat (limited to 'fs')
-rw-r--r-- | fs/xfs/libxfs/xfs_bmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/libxfs/xfs_bmap.c b/fs/xfs/libxfs/xfs_bmap.c index 98aaca933bdd..f362345467fa 100644 --- a/fs/xfs/libxfs/xfs_bmap.c +++ b/fs/xfs/libxfs/xfs_bmap.c @@ -3277,7 +3277,7 @@ xfs_bmap_alloc_account( struct xfs_bmalloca *ap) { bool isrt = XFS_IS_REALTIME_INODE(ap->ip) && - (ap->flags & XFS_BMAPI_ATTRFORK); + !(ap->flags & XFS_BMAPI_ATTRFORK); uint fld; if (ap->flags & XFS_BMAPI_COWFORK) { |