cifs: Share server EOF pos with netfslib
authorDavid Howells <dhowells@redhat.com>
Tue, 15 Feb 2022 19:22:18 +0000 (19:22 +0000)
committerSteve French <stfrench@microsoft.com>
Wed, 24 Jan 2024 00:59:05 +0000 (18:59 -0600)
commit966cc171c8be4fbeae1bf166d264e0bfb09e141c
tree8b196e4d712c6093fdfe67d0090205fb655fe1c6
parent8deb05c84b63b4fdb8549e08942867a68924a5b8
cifs: Share server EOF pos with netfslib

Use cifsi->netfs_ctx.remote_i_size instead of cifsi->server_eof so that
netfslib can refer to it to.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Shyam Prasad N <nspmangalore@gmail.com>
cc: Rohith Surabattula <rohiths.msft@gmail.com>
cc: Jeff Layton <jlayton@kernel.org>
cc: linux-cifs@vger.kernel.org
cc: linux-cachefs@redhat.com
cc: linux-fsdevel@vger.kernel.org
cc: linux-mm@kvack.org
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/cifsfs.c
fs/smb/client/cifsglob.h
fs/smb/client/file.c
fs/smb/client/inode.c
fs/smb/client/readdir.c
fs/smb/client/smb2ops.c