Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp806807pxf; Thu, 1 Apr 2021 14:12:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPk+/jUMjKvr86ZjQkWmTu6pXhwuHKTC+rX+EKLLDqBiChJsvU9t3DtgiYBB1oqK3VoQwy X-Received: by 2002:a17:906:a052:: with SMTP id bg18mr11200597ejb.18.1617311550814; Thu, 01 Apr 2021 14:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617311550; cv=none; d=google.com; s=arc-20160816; b=e/qcNjvKa6XTTTxNdOLcjVquXWDXksDnq/FMublE1h/8cFyL71kFO1HEuD31jT66XG WJSmCTqj1k2MUjkOBavC1ECihM4sAlul/pxumH2GyDk2Ar+aqsnuYooh15yYlV1J57oj EgQJNQh4cQq5bNlp0FkItad8LWWGQjixeg2Xcu6YcGApTZxyWilzPKT1DLmRULc9izFc ehjPE7r+Zj+Oz2FBtcl4iICI9WOU+1BogpqZv/ciOSoXUhnrncPW1zyHlFUFV/SIIM5B F5wp5sofjkY5692cBHLNG1oGm9Gfe/DKbB8yFOoIfU+hKMJk+n1VLMFBdJPGHTueZhZ4 kS2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=dwQgngIW/jqaZn+OlB2fY8tpd05IXAJ2KVeZT46A4EU=; b=sd/74YBV01duo2dn/ctG4oO9wuoDvyN4YOKwihzXsA8RWVBX0H1owGS6e4WoYkbnWf 8RBowusEjyREFk54K0zJDOhAWXEGHnNpENAyhLAJTYuiNDx9PFw+nXooM/Z7caOpW173 Y9o7J28xiGXJmnxT3nLqhLBL96Qqq56+w7Ac+OK+dpMh9EqmnZZtuBxav2IHS4mRkfFd hNf2381muvEpI8rOhSd6zbesLfDS73XT8GMkQu4Nw7Z204Bi+wxPZ7gQMPUEO7I8ByxU +9Iruxlefe1lwL/0uWs0ZXrQvWuHtR2IODNfA3N2G0KYHrpuDtE8pORO04g4BxDS+gip 7kHw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df23si4813540edb.38.2021.04.01.14.12.07; Thu, 01 Apr 2021 14:12:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233710AbhDAVLg (ORCPT + 99 others); Thu, 1 Apr 2021 17:11:36 -0400 Received: from p3plsmtpa11-08.prod.phx3.secureserver.net ([68.178.252.109]:39010 "EHLO p3plsmtpa11-08.prod.phx3.secureserver.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234132AbhDAVLf (ORCPT ); Thu, 1 Apr 2021 17:11:35 -0400 Received: from [192.168.0.116] ([71.184.94.153]) by :SMTPAUTH: with ESMTPSA id S4U2lEyTI8I0QS4U4l1juh; Thu, 01 Apr 2021 14:04:14 -0700 X-CMAE-Analysis: v=2.4 cv=SeEyytdu c=1 sm=1 tr=0 ts=6066354e a=vbvdVb1zh1xTTaY8rfQfKQ==:117 a=vbvdVb1zh1xTTaY8rfQfKQ==:17 a=IkcTkHD0fZMA:10 a=hGzw-44bAAAA:8 a=DWtuyDPq4Y-VP7XYPBwA:9 a=QEXdDO2ut3YA:10 a=HvKuF1_PTVFglORKqfwH:22 X-SECURESERVER-ACCT: tom@talpey.com Subject: Re: [Linux-cifsd-devel] [PATCH] cifsd: use kfree to free memory allocated by kzalloc To: Namjae Jeon , Ralph Boehme Cc: Dan Carpenter , COMMON INTERNET FILE SYSTEM SERVER , COMMON INTERNET FILE SYSTEM SERVER , kernel-janitors@vger.kernel.org, open list , Steve French , colin.king@canonical.com, Muhammad Usama Anjum References: <20210401113933.GA2828895@LEGION> <20210401115008.GS2088@kadam> <2b758812-f00b-9465-c24e-763912748809@samba.org> From: Tom Talpey Message-ID: <46e67316-58f3-435d-458c-11968499d4ee@talpey.com> Date: Thu, 1 Apr 2021 17:04:07 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfCTebwSLG0O7CVyJx0MSZc8RdyOjwuZI/CluYpCmzCTBYDnswFAGGwB2pTKJ74GlIi9KJC0EnCvFsKN4kKsYIpgzKsfp3ssVCbRCmPFTnQUChE5x7Grk 8HoUqTXT9frKqAA8BFTBaji1CzdTk/oAxgjAn9ZGDSrPECP+BmxbUaWoD/p5nkIcVHhp4zYWe8lU/pnMenMRn3h4GpQuHA36qrpU22xo6N9KuU2HxXgiQG+w LUwvWCnYnh9lOSR2KJJMPUlxU7X1HB+MZ/vOdijkMkRwO9vpmeJ7cpqdza0x4Ou6Lvm+mYpiLQVgwJ/VW33kYq/sz59vkeV0O/E8aIS8bjTRd9Km4YyD+m50 5Sav0aGJ5VNH3ubwid3KMjoQQ7NUn7/4s9uUPIhY7n1VE0VjDhjA3oKN4OC+LYxiFqp26/uy3BGY1+oqfyQ4AQCZtvOV7ga3Kuou6nltOYR7wrRR624SBJnM RatNJKN2AOAGE8k43+EeqYasuGAAHQJpuSbZqdYHpRUDIb+vem7eLgF7UGk= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/1/2021 9:36 AM, Namjae Jeon wrote: > 2021-04-01 22:14 GMT+09:00, Ralph Boehme : >> Am 4/1/21 um 2:59 PM schrieb Namjae Jeon: >>> 2021-04-01 21:50 GMT+09:00, Ralph Boehme : >>>> fwiw, while at it what about renaming everything that still references >>>> "cifs" to "smb" ? This is not the 90's... :) >>> It is also used with the name "ksmbd". So function and variable prefix >>> are used with ksmbd. >> >> well, I was thinking of this: >> >> > +++ b/fs/cifsd/... >> >> We should really stop using the name cifs for modern implementation of >> SMB{23} and the code should not be added as fs/cifsd/ to the kernel. > As I know, currently "cifs" is being used for the subdirectory name > for historical reasons and to avoid confusions, even though the CIFS > (SMB1) dialect is no longer recommended. I'm with Ralph. CIFS is history that we need to relegate to the past. I also agree that wrappers around core memory allocators are to be avoided. Tom.