* [PATCH] f2fs: reference F2FS_IOC_SHUTDOWN in the going-down flags comment
@ 2026-11-29 1:41 Nikolai Dokutovich
0 siblings, 0 replies; only message in thread
From: Nikolai Dokutovich @ 2026-11-29 1:41 UTC (permalink / raw)
To: Jaegeuk Kim, Chao Yu; +Cc: linux-f2fs-devel, linux-kernel, Nikolai Dokutovich
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-29 1:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-29 1:41 [PATCH] f2fs: reference F2FS_IOC_SHUTDOWN in the going-down flags comment Nikolai Dokutovich
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®