From nobody Mon Oct 6 10:18:47 2025 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CB58E2E6D31 for ; Wed, 23 Jul 2025 13:22:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753276938; cv=none; b=Rlmzj3eKa6/zUhjGMkkMuZA3Hx0WQbLxUQ9z6Z1+7mk+y4SPb16Bo7MK+qr1SEse20LgvTx+/PiRHSPGKICjCB8dTXCfNL6aKr1U5PO/bZjefTnqhxWJS9458qakiP07qW7914eQtneLTeh+RC744ZhpC82gSQrvufE0hRyom5U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753276938; c=relaxed/simple; bh=5zU8ZAr3SMvfuaM+8iY14N48D84esM2zsmKZnYPnEqQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=UZ3YzeIK64TKnSo/wcbwr02o0BbmWM0X13e7o1Tw4+EYY0zNbEYUXUq8zBH6weWwTfJgD9S/hxoIYvMCHHj1BzwWy/4HmC0sFsod6puta0ScH0eRAJdS+tAVGCfkV749Z1j7ZDyBS8dDzSq/0wP7GYCHNS74QXyXS/KMwReQAMQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=0o600WTr; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=ICV017V2; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=0o600WTr; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=ICV017V2; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="0o600WTr"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="ICV017V2"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="0o600WTr"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="ICV017V2" Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 9216E218F2; Wed, 23 Jul 2025 13:22:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1753276922; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sHb1UmULRkWstV5P4nMj+VxLK8zD/76FhrbXgXNQRUo=; b=0o600WTrhF7mqytOXsBYYI4hbogQkBaLYNkZh6yOhsRu0dzDfoThI2SzfeB1U184ufHj8G 7GbA+URz2VZXrHtSTbT36riHJWUSWhwFuAmShP1d5xNX71G6iq7hOCDBFGO9KRvcSbAe6q 9ZGwqoxN2M84b5EyhaTDeV/EBfiNu3E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1753276922; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sHb1UmULRkWstV5P4nMj+VxLK8zD/76FhrbXgXNQRUo=; b=ICV017V2+baXLLVaiY3mCil8ZmvkRtv3ETatf8BEsf8sZlpYy3ZZ3dz1BSSQSvJ5PPNrGf 4TzUZ+D2SO5FhHBQ== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1753276922; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sHb1UmULRkWstV5P4nMj+VxLK8zD/76FhrbXgXNQRUo=; b=0o600WTrhF7mqytOXsBYYI4hbogQkBaLYNkZh6yOhsRu0dzDfoThI2SzfeB1U184ufHj8G 7GbA+URz2VZXrHtSTbT36riHJWUSWhwFuAmShP1d5xNX71G6iq7hOCDBFGO9KRvcSbAe6q 9ZGwqoxN2M84b5EyhaTDeV/EBfiNu3E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1753276922; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sHb1UmULRkWstV5P4nMj+VxLK8zD/76FhrbXgXNQRUo=; b=ICV017V2+baXLLVaiY3mCil8ZmvkRtv3ETatf8BEsf8sZlpYy3ZZ3dz1BSSQSvJ5PPNrGf 4TzUZ+D2SO5FhHBQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id EC85813302; Wed, 23 Jul 2025 13:22:01 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id CJ1lNvnhgGhnHwAAD6G6ig (envelope-from ); Wed, 23 Jul 2025 13:22:01 +0000 From: Pedro Falcato To: Alexander Viro , Christian Brauner , Jonathan Corbet Cc: Jan Kara , linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, "Matthew Wilcox (Oracle)" , Pedro Falcato Subject: [PATCH 3/3] docs/vfs: Remove mentions to the old mount API helpers Date: Wed, 23 Jul 2025 14:21:56 +0100 Message-ID: <20250723132156.225410-4-pfalcato@suse.de> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20250723132156.225410-1-pfalcato@suse.de> References: <20250723132156.225410-1-pfalcato@suse.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Spamd-Result: default: False [-6.80 / 50.00]; REPLY(-4.00)[]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-0.999]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FUZZY_RATELIMITED(0.00)[rspamd.com]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_SEVEN(0.00)[9]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_RATELIMIT(0.00)[to_ip_from(RLw5gink3swc9hgcaooqib9oj6)]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Spam-Flag: NO X-Spam-Level: X-Spam-Score: -6.80 Content-Type: text/plain; charset="utf-8" Now that mount_bdev(), mount_nodev() and mount_single() have all been removed, remove mentions to them in vfs.rst. While we're at it, redirect people looking for mount API docs to mount_api.rst (which documents the newer API). Signed-off-by: Pedro Falcato --- Documentation/filesystems/vfs.rst | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) diff --git a/Documentation/filesystems/vfs.rst b/Documentation/filesystems/= vfs.rst index 94eba21265a1..af06144cf0fe 100644 --- a/Documentation/filesystems/vfs.rst +++ b/Documentation/filesystems/vfs.rst @@ -209,31 +209,8 @@ method fills in is the "s_op" field. This is a pointe= r to a "struct super_operations" which describes the next level of the filesystem implementation. =20 -Usually, a filesystem uses one of the generic mount() implementations -and provides a fill_super() callback instead. The generic variants are: - -``mount_bdev`` - mount a filesystem residing on a block device - -``mount_nodev`` - mount a filesystem that is not backed by a device - -``mount_single`` - mount a filesystem which shares the instance between all mounts - -A fill_super() callback implementation has the following arguments: - -``struct super_block *sb`` - the superblock structure. The callback must initialize this - properly. - -``void *data`` - arbitrary mount options, usually comes as an ASCII string (see - "Mount Options" section) - -``int silent`` - whether or not to be silent on error - +For more information on mounting (and the new mount API), see +Documentation/filesystems/mount_api.rst. =20 The Superblock Object =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.50.1