projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'backlight-next-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux-2.6-block.git]
/
fs
/
xfs
/
xfs_dquot_item_recover.c
diff --git
a/fs/xfs/xfs_dquot_item_recover.c
b/fs/xfs/xfs_dquot_item_recover.c
index 5875c7e1bd2866a8fcd57fcb0beda23c335e9a2f..8966ba842395bfddfcf5fc903600b0bcbf6263aa 100644
(file)
--- a/
fs/xfs/xfs_dquot_item_recover.c
+++ b/
fs/xfs/xfs_dquot_item_recover.c
@@
-136,7
+136,7
@@
xlog_recover_dquot_commit_pass2(
* If the dquot has an LSN in it, recover the dquot only if it's less
* than the lsn of the transaction we are replaying.
*/
* If the dquot has an LSN in it, recover the dquot only if it's less
* than the lsn of the transaction we are replaying.
*/
- if (xfs_
sb_version_hascrc(&mp->m_sb
)) {
+ if (xfs_
has_crc(mp
)) {
struct xfs_dqblk *dqb = (struct xfs_dqblk *)ddq;
xfs_lsn_t lsn = be64_to_cpu(dqb->dd_lsn);
struct xfs_dqblk *dqb = (struct xfs_dqblk *)ddq;
xfs_lsn_t lsn = be64_to_cpu(dqb->dd_lsn);
@@
-146,7
+146,7
@@
xlog_recover_dquot_commit_pass2(
}
memcpy(ddq, recddq, item->ri_buf[1].i_len);
}
memcpy(ddq, recddq, item->ri_buf[1].i_len);
- if (xfs_
sb_version_hascrc(&mp->m_sb
)) {
+ if (xfs_
has_crc(mp
)) {
xfs_update_cksum((char *)ddq, sizeof(struct xfs_dqblk),
XFS_DQUOT_CRC_OFF);
}
xfs_update_cksum((char *)ddq, sizeof(struct xfs_dqblk),
XFS_DQUOT_CRC_OFF);
}