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 'bcachefs-2024-04-29' of https://evilpiepirate.org/git/bcachefs
[linux-2.6-block.git]
/
fs
/
bcachefs
/
inode.c
diff --git
a/fs/bcachefs/inode.c
b/fs/bcachefs/inode.c
index ca4a066e9a5428aa68f88d77f59e9c365a580d6c..0f95d7fb5ec0bddf755299a70908a3520c307f69 100644
(file)
--- a/
fs/bcachefs/inode.c
+++ b/
fs/bcachefs/inode.c
@@
-606,7
+606,7
@@
int bch2_trigger_inode(struct btree_trans *trans,
struct bkey_s new,
unsigned flags)
{
- s64 nr =
bkey_is_inode(new.k) -
bkey_is_inode(old.k);
+ s64 nr =
(s64) bkey_is_inode(new.k) - (s64)
bkey_is_inode(old.k);
if (flags & BTREE_TRIGGER_TRANSACTIONAL) {
if (nr) {