projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
5fbad44
)
Merge tag 'affs-for-6.2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
author
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 18 Jan 2023 17:54:27 +0000
(09:54 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 18 Jan 2023 17:54:27 +0000
(09:54 -0800)
Pull affs fix from David Sterba:
"One minor fix for a KCSAN report"
* tag 'affs-for-6.2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
affs: initialize fsdata in affs_truncate()
fs/affs/file.c
patch
|
blob
|
history
diff --git
a/fs/affs/file.c
b/fs/affs/file.c
index
cefa222
..
8daeed3
100644
(file)
--- a/
fs/affs/file.c
+++ b/
fs/affs/file.c
@@
-880,7
+880,7
@@
affs_truncate(struct inode *inode)
if (inode->i_size > AFFS_I(inode)->mmu_private) {
struct address_space *mapping = inode->i_mapping;
struct page *page;
- void *fsdata;
+ void *fsdata
= NULL
;
loff_t isize = inode->i_size;
int res;