Date: Mon, 16 Aug 2021 09:23:33 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: f8cb59615252 - stable/13 - nfs_write(): do not call ncl_pager_setsize() after clearing TDP2_SBPAGES Message-ID: <202108160923.17G9NXvj096631@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=f8cb59615252f38ad0855abfcd01fd564a7c4862 commit f8cb59615252f38ad0855abfcd01fd564a7c4862 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2021-01-23 21:40:07 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2021-08-16 09:23:12 +0000 nfs_write(): do not call ncl_pager_setsize() after clearing TDP2_SBPAGES (cherry picked from commit bd01a69f4836994b50b492883fb5367db41fb506) --- sys/fs/nfsclient/nfs_clbio.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sys/fs/nfsclient/nfs_clbio.c b/sys/fs/nfsclient/nfs_clbio.c index f4b0855f7dda..ff9f446ff1ef 100644 --- a/sys/fs/nfsclient/nfs_clbio.c +++ b/sys/fs/nfsclient/nfs_clbio.c @@ -1296,11 +1296,6 @@ again: out: curthread_pflags2_restore(save2); - if ((curthread->td_pflags2 & TDP2_SBPAGES) == 0) { - NFSLOCKNODE(np); - ncl_pager_setsize(vp, NULL); - } - return (error); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108160923.17G9NXvj096631>