git: d01032736cf0 - main - Fix diroffdiroff, probably copy/paste bug.

Alexander Motin mav at FreeBSD.org
Sun Feb 28 14:08:38 UTC 2021


The branch main has been updated by mav:

URL: https://cgit.FreeBSD.org/src/commit/?id=d01032736cf067d63e66d6428ffc08e47652600f

commit d01032736cf067d63e66d6428ffc08e47652600f
Author:     Alexander Motin <mav at FreeBSD.org>
AuthorDate: 2021-02-28 14:07:13 +0000
Commit:     Alexander Motin <mav at FreeBSD.org>
CommitDate: 2021-02-28 14:08:31 +0000

    Fix diroffdiroff, probably copy/paste bug.
    
    Too long name looks bad in `vmstat -m`.
    
    MFC after:      1 week
---
 sys/fs/nfs/nfs_commonport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/fs/nfs/nfs_commonport.c b/sys/fs/nfs/nfs_commonport.c
index a7ce2d4bd015..47038980c640 100644
--- a/sys/fs/nfs/nfs_commonport.c
+++ b/sys/fs/nfs/nfs_commonport.c
@@ -123,7 +123,7 @@ MALLOC_DEFINE(M_NEWNFSCLLOCKOWNER, "NFSCL lckown", "NFSCL Lock Owner");
 MALLOC_DEFINE(M_NEWNFSCLLOCK, "NFSCL lck", "NFSCL Lock");
 MALLOC_DEFINE(M_NEWNFSV4NODE, "NEWNFSnode", "NFS vnode");
 MALLOC_DEFINE(M_NEWNFSDIRECTIO, "NEWdirectio", "NFS Direct IO buffer");
-MALLOC_DEFINE(M_NEWNFSDIROFF, "NFSCL diroffdiroff",
+MALLOC_DEFINE(M_NEWNFSDIROFF, "NFSCL diroff",
     "NFS directory offset data");
 MALLOC_DEFINE(M_NEWNFSDROLLBACK, "NFSD rollback",
     "NFS local lock rollback");


More information about the dev-commits-src-all mailing list