From: Nikolai Dokutovich <ndokutovich@gmail.com>
To: Jaegeuk Kim <jaegeuk@kernel.org>, Chao Yu <chao@kernel.org>
Cc: linux-f2fs-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org,
Nikolai Dokutovich <ndokutovich@gmail.com>
Subject: [PATCH] f2fs: reference F2FS_IOC_SHUTDOWN in the going-down flags comment
Date: Sun, 29 Nov 2026 04:41:06 +0300 [thread overview]
Message-ID: <20261129014106.57296-1-ndokutovich@gmail.com> (raw)
The comment above the F2FS_GOING_DOWN_* flags claims they are used by
FS_IOC_GOINGDOWN. There is no such ioctl: the flags are consumed by
F2FS_IOC_SHUTDOWN, which shares the _IOR('X', 125, __u32) encoding with
the generic FS_IOC_SHUTDOWN, while XFS_IOC_GOINGDOWN is the XFS ioctl
the line above refers to.
Signed-off-by: Nikolai Dokutovich <ndokutovich@gmail.com>
---
include/uapi/linux/f2fs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/uapi/linux/f2fs.h b/include/uapi/linux/f2fs.h
index 4409ada2fecb..f0a885ccde1f 100644
--- a/include/uapi/linux/f2fs.h
+++ b/include/uapi/linux/f2fs.h
@@ -51,7 +51,7 @@
/*
* should be same as XFS_IOC_GOINGDOWN.
- * Flags for going down operation used by FS_IOC_GOINGDOWN
+ * Flags for going down operation used by F2FS_IOC_SHUTDOWN
*/
#define F2FS_IOC_SHUTDOWN _IOR('X', 125, __u32) /* Shutdown */
#define F2FS_GOING_DOWN_FULLSYNC 0x0 /* going down with full sync */
--
2.43.0
reply other threads:[~2026-11-29 1:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129014106.57296-1-ndokutovich@gmail.com \
--to=ndokutovich@gmail.com \
--cc=chao@kernel.org \
--cc=jaegeuk@kernel.org \
--cc=linux-f2fs-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®