[PATCH] f2fs: reference F2FS_IOC_SHUTDOWN in the going-down flags comment
From: Nikolai Dokutovich
Date: Sat Nov 28 2026 - 20:41:16 EST
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@xxxxxxxxx>
---
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