[PATCH] rpdfs: Initialize ri->shadow_inode in rpdfs_new_inode()

Chris Kirby <[email protected]>
Newsgroups dev.linux.lists.rpdfs-devel
Message-ID <c6fc8031adfc5ab5ba13270f99194d98daac4103.1786632907.git.ckirby@versity.com>
Signed-off-by: Chris Kirby <[email protected]>
---
 fs/rpdfs/inode.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/rpdfs/inode.c b/fs/rpdfs/inode.c
index a3d766b8bffd..39682eeeda21 100644
--- a/fs/rpdfs/inode.c
+++ b/fs/rpdfs/inode.c
@@ -591,6 +591,7 @@ struct inode *rpdfs_new_inode(struct super_block *sb, struct rpdfs_iget_data *ig
 	ri = RPDFS_I(inode);
 	ri->refreshed = true;
 	ri->xattr_creates = 0;
+	ri->shadow_inode = NULL;
 
 	ts = inode_set_ctime_current(inode);
 	inode_set_mtime_to_ts(inode, ts);
-- 
2.55.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.