Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1091071ybh; Sun, 19 Jul 2020 08:17:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxs43L7+f/pQfrSHZSPGPhQYRTJ1oQtqtvU96yZtQX46oUMrApsCS9RvXqdUW1YadL2DvTE X-Received: by 2002:a05:6402:174e:: with SMTP id v14mr17869531edx.153.1595171863142; Sun, 19 Jul 2020 08:17:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595171863; cv=none; d=google.com; s=arc-20160816; b=TrYfZzfFkjzMRleNuVlhhEDfLuUyq7auMT6wQRBrAFv+ReAqVa42NGoguMV3cR/EKE 8ZvY8rjSHEqoCLwIcur2s33mVr/UXAiX7NmnXhH2MoFS63ZytLjBIb7R6oQXRhl1jV8s 2oL6H3u46EWK2i4dGZDeL+is98214hbap9Xyj4s/dJJKQpqXwiFyj3hMubaBUKZkXEOK G1mELpm4YTqPQWSH1IfK1Esijn/cX6qs6lx0iM6EDNC7vti1w2E30Cj56tBnGUiDnIrc 4Oomx3sq/C2DShFtBPM6Bhkv1EfkbhMs73mllUbjQ1gYsjINbOJSqdIf2KcvBIK3Ee1q kxNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=f+/nMC9KtprnGJTYsDKdWMQCSAEu8qFX2gEgq1WTZAo=; b=UtrdqXQygK8xqLVnuVYT6GDpbg+5RcNsARG1bkcm1z+rQxsbw5HvJgP5sZ2oeyTHMH NwTnXG8GsYkP0bYk6O2M/40kwtdS4TiMw47nqCw+BPXzgGH9SqPunh1rcHZoBdS/69F4 uCng/uG5n4FJcXCMzCj8BEoyW2sVrbXw7z3ld3lIgRyqcRDSv0dZ7OWYrETQafhzgqAY vlWw8Ft1hU8PQcU3C3daYdGYzCwr7hGDpNyvgobRVfdHuO0dXy5W5xJ1cX8BQUkyeijs n4dlvHFiwHm8XURmPZEogORJofzf4CA0GMi7qlzW8pZptusfLFuhFQhrOoCgDIOWRVnz kgmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=bDBYRNpm; 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 m20si9536795eds.126.2020.07.19.08.17.20; Sun, 19 Jul 2020 08:17:43 -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; dkim=pass header.i=@kernel.org header.s=default header.b=bDBYRNpm; 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 S1726146AbgGSPQ3 (ORCPT + 99 others); Sun, 19 Jul 2020 11:16:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:53552 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726024AbgGSPQ2 (ORCPT ); Sun, 19 Jul 2020 11:16:28 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F344422B4D; Sun, 19 Jul 2020 15:16:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595171788; bh=bUHUr8f704qfasOHLj7vXLRRYUwyFmxfe3IyM5uTxcc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bDBYRNpmL2M5sfmkgiJWS3XCx5IzAXxr0VWlgyZtoZGe2ptUpbQyPKuXtyCiCUq3M 2L0PJLwBReVvJjL9W7ykO7KHA77DAfN9b8wyEczaC5hOTi9WwPJhjaSV/wqZfN4Bpl TX5cv/URXmkSyvc/1cJg/VpmESwM+Ko6qhdqvfl0= Date: Sun, 19 Jul 2020 17:16:40 +0200 From: Greg KH To: Daeho Jeong Cc: linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com, Daeho Jeong Subject: Re: [PATCH 1/2] f2fs: add sysfs symbolic link to kobject with volume name Message-ID: <20200719151640.GA301791@kroah.com> References: <20200719054409.3050516-1-daeho43@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200719054409.3050516-1-daeho43@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 19, 2020 at 02:44:08PM +0900, Daeho Jeong wrote: > From: Daeho Jeong > > Added a symbolic link directory pointing to its device name > directory using the volume name of the partition in sysfs. > (i.e., /sys/fs/f2fs/vol_#x -> /sys/fs/f2fs/sda1) No, please no. That is already created today for you in /dev/disk/ The kernel does not need to do this again. If your distro/system/whatever does not provide you with /dev/disk/ and all of the symlinks in there, then work with your distro/system/whatever to do so. Again, no need to do this on a per-filesystem-basis when we already have this around for all filesystems, and have had it for 15+ years now. thanks, greg k-h