]> git.baikalelectronics.ru Git - kernel.git/commit
ksmbd: fix oops from fuse driver
authorNamjae Jeon <linkinjeon@kernel.org>
Sun, 3 Oct 2021 04:19:00 +0000 (13:19 +0900)
committerSteve French <stfrench@microsoft.com>
Thu, 7 Oct 2021 15:18:36 +0000 (10:18 -0500)
commitdb7e9d3625929415432d5bdd161829cf31e86f2d
tree4b2c1028619c8bb131815d3ae9202ad5e6294453
parent2de316aaf52338bd53c374e1017b38f85ee23808
ksmbd: fix oops from fuse driver

Marios reported kernel oops from fuse driver when ksmbd call
mark_inode_dirty(). This patch directly update ->i_ctime after removing
mark_inode_ditry() and notify_change will put inode to dirty list.

Cc: Tom Talpey <tom@talpey.com>
Cc: Ronnie Sahlberg <ronniesahlberg@gmail.com>
Cc: Ralph Böhme <slow@samba.org>
Cc: Hyunchul Lee <hyc.lee@gmail.com>
Reported-by: Marios Makassikis <mmakassikis@freebox.fr>
Tested-by: Marios Makassikis <mmakassikis@freebox.fr>
Acked-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/ksmbd/smb2pdu.c