diff --git a/fs/f2fs/verity.c b/fs/f2fs/verity.c index e5a47782a97e..c4bd5a154252 100644 --- a/fs/f2fs/verity.c +++ b/fs/f2fs/verity.c @@ -76,7 +76,7 @@ static int pagecache_write(struct inode *inode, const void *buf, size_t count, size_t n = min_t(size_t, count, PAGE_SIZE - offset_in_page(pos)); struct page *page; - void *fsdata; + void *fsdata = NULL; int res; res = pagecache_write_begin(NULL, inode->i_mapping, pos, n, 0,