dmitry pervushin <dpervus...@gmail.com> writes: > Hello Bintian, > > The original idea discussed with John was to allow > FAT_IOCTL_GET_VOLUME_ID (broken or not) only on directory nodes, and > even on the root directory node. That's why it is should be *not* in > fat_generic_ioctl.
The question would be, why do we have to limit only on directory? When I'm reviewing this, I recalled fstatvfs(2) as referenced one. The both get the info of fs. fstatvfs(2) doesn't limit only on directory. But, in the FAT_IOCTL_GET_VOLUME_ID case, it limits. I wonder why? Thanks. -- OGAWA Hirofumi <hirof...@mail.parknet.co.jp> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/