]> www.infradead.org Git - users/willy/pagecache.git/commit
smb: fix bytes written value in /proc/fs/cifs/Stats
authorBharath SM <bharathsm.hsk@gmail.com>
Thu, 19 Dec 2024 17:58:50 +0000 (23:28 +0530)
committerSteve French <stfrench@microsoft.com>
Thu, 19 Dec 2024 18:14:11 +0000 (12:14 -0600)
commit92941c7f2c9529fac1b2670482d0ced3b46eac70
tree825d3d9a6755da4126272f115339726708fc5b97
parente9f2517a3e18a54a3943c098d2226b245d488801
smb: fix bytes written value in /proc/fs/cifs/Stats

With recent netfs apis changes, the bytes written
value was not getting updated in /proc/fs/cifs/Stats.
Fix this by updating tcon->bytes in write operations.

Fixes: 3ee1a1fc3981 ("cifs: Cut over to using netfslib")
Signed-off-by: Bharath SM <bharathsm@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/smb2pdu.c