[Qemu-devel] [PATCH] 9p: Be robust against paths without FS_IOC_GETVERSION

2013-05-10 Thread Gabriel de Perthuis
9P optionally uses the FS_IOC_GETVERSION ioctl to get information about a file's version (sometimes called generation number). The code checks for supported filesystems at mount time, but some paths may come from other mounted filesystems. Change it to treat unsupported paths the same as unsuppor

Re: [Qemu-devel] [PATCH] 9p: Be robust against paths without FS_IOC_GETVERSION

2013-05-10 Thread Aneesh Kumar K.V
Gabriel de Perthuis writes: > Le 10/05/2013 05:30, Aneesh Kumar K.V a écrit : >> Gabriel de Perthuis writes: >> >>> The current implementation checked for supported filesystems at mount >>> time, but actual support depends on the path. Don't error out when >>> finding unversioned paths. >> >>

Re: [Qemu-devel] [PATCH] 9p: Be robust against paths without FS_IOC_GETVERSION

2013-05-09 Thread Gabriel de Perthuis
Le 10/05/2013 05:30, Aneesh Kumar K.V a écrit : > Gabriel de Perthuis writes: > >> The current implementation checked for supported filesystems at mount >> time, but actual support depends on the path. Don't error out when >> finding unversioned paths. > > Can you elaborate this a bit ? ioctl

Re: [Qemu-devel] [PATCH] 9p: Be robust against paths without FS_IOC_GETVERSION

2013-05-09 Thread Aneesh Kumar K.V
Gabriel de Perthuis writes: > The current implementation checked for supported filesystems at mount > time, but actual support depends on the path. Don't error out when > finding unversioned paths. Can you elaborate this a bit ? > > This fix allows booting a linux kernel with the same / filesy

[Qemu-devel] [PATCH] 9p: Be robust against paths without FS_IOC_GETVERSION

2013-05-08 Thread Gabriel de Perthuis
The current implementation checked for supported filesystems at mount time, but actual support depends on the path. Don't error out when finding unversioned paths. This fix allows booting a linux kernel with the same / filesystem as the host; otherwise the boot fails when mounting devtmpfs. Sign

[Qemu-devel] [PATCH] 9p: Be robust against paths without FS_IOC_GETVERSION

2013-05-08 Thread Gabriel de Perthuis
The current implementation checked for supported filesystems at mount time, but actual support depends on the path. Don't error out when finding unversioned paths. This fix allows booting a linux kernel with the same / filesystem as the host; otherwise the boot fails when mounting devtmpfs. Sign