]> www.infradead.org Git - linux.git/commit
cifs: Fix zero_point init on inode initialisation
authorDavid Howells <dhowells@redhat.com>
Tue, 3 Sep 2024 14:11:18 +0000 (15:11 +0100)
committerSteve French <stfrench@microsoft.com>
Tue, 3 Sep 2024 15:16:05 +0000 (10:16 -0500)
commit517b58c1f9242a6b4ac9443d95569dee58bf6b8b
treea77cf47261f9ead428df98e2730a608d34a58a4b
parentf9c169b51b6ce20394594ef674d6b10efba31220
cifs: Fix zero_point init on inode initialisation

Fix cifs_fattr_to_inode() such that the ->zero_point tracking variable
is initialised when the inode is initialised.

Fixes: 3ee1a1fc3981 ("cifs: Cut over to using netfslib")
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/inode.c