vfs.fs.inode
What is the difference between FS_IOC_GETFLAGS and FS_IOC_FSGETXATTR ioctl commands? What flags do both return?
FS_IOC_GETFLAGS和FS_IOC_FSGETXATTR ioctl命令之间有什么区别? 两者都返回什么标志?
The comment in fs.h is clear enough to explain itself. In short, FS_IOC_GETFLAGS was for ext2/ext3 only, and FS_IOC_FSGETXATTR is a generic FS level interface.
fs.h中的注释很清楚,足以说明自己。 简而言之,FS_IOC_GETFLAGS仅用于ext2 / ext3,而FS_IOC_FSGETXATTR是通用的FS级别接口。
Full comment as follows for your reference (source):
完整评论如下,以供您参考( 来源 ):