Skip to contentSkip to conversation

f2fs: reference F2FS_IOC_SHUTDOWN in the going-down flags comment

PATCH New Nikolai Dokutovich 1 participant 1 message Nov 29 F2FS file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 f2fs: reference F2FS_IOC_SHUTDOWN in the going-down flags comment

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.

---
 include/uapi/linux/f2fs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/f2fs.h +1 -1
index 4409ada2fecb..f0a885ccde1f 100644
@@ -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 */
Signature · 1 line
2.43.0