Re: [Devel] [PATCH] fs/fuse kio_pcs: remove s_subtype check

2018-05-28 Thread Kirill Tkhai
On 28.05.2018 18:28, Pavel Butsykin wrote: > The s_subtype field is initialized after calling vfs_kern_mount(), so we can't > check s_subtype inside vfs_kern_mount(). Instead of s_subtype we can check > dev_name, but this leads to an unjustified modification of common fuse. > > Given that

[Devel] [PATCH] fs/fuse kio_pcs: remove s_subtype check

2018-05-28 Thread Pavel Butsykin
The s_subtype field is initialized after calling vfs_kern_mount(), so we can't check s_subtype inside vfs_kern_mount(). Instead of s_subtype we can check dev_name, but this leads to an unjustified modification of common fuse. Given that s_subtype/dev_name check doesn't protect from the