Skip to content

Commit 7026172

Browse files
committed
Merge tag 'affs-for-6.2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
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()
2 parents 5fbad44 + eef034a commit 7026172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/affs/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ affs_truncate(struct inode *inode)
880880
if (inode->i_size > AFFS_I(inode)->mmu_private) {
881881
struct address_space *mapping = inode->i_mapping;
882882
struct page *page;
883-
void *fsdata;
883+
void *fsdata = NULL;
884884
loff_t isize = inode->i_size;
885885
int res;
886886

0 commit comments

Comments
 (0)