netfs, cifs: Move CIFS_INO_MODIFIED_ATTR to netfs_inode
authorDavid Howells <dhowells@redhat.com>
Wed, 5 Jun 2024 10:26:24 +0000 (11:26 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 5 Sep 2024 09:00:41 +0000 (11:00 +0200)
commit73425800ac948cb78063b897a0c345d788f3594d
tree3bb35f2c20e8e3f0634c86358475e6dae7e50bb7
parent8f52de0077ba3bf41e5d53d67a185700f41efce7
netfs, cifs: Move CIFS_INO_MODIFIED_ATTR to netfs_inode

Move CIFS_INO_MODIFIED_ATTR to netfs_inode as NETFS_ICTX_MODIFIED_ATTR and
then make netfs_perform_write() set it.  This means that cifs doesn't need
to implement the ->post_modify() hook.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: Steve French <sfrench@samba.org>
cc: Paulo Alcantara <pc@manguebit.com>
cc: linux-cifs@vger.kernel.org
cc: netfs@lists.linux.dev
cc: linux-fsdevel@vger.kernel.org
Link: https://lore.kernel.org/r/20240814203850.2240469-7-dhowells@redhat.com/
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/netfs/buffered_write.c
fs/smb/client/cifsglob.h
fs/smb/client/file.c
include/linux/netfs.h