Re: [PATCH] Convert coda to use the new mount API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/21/24 12:23 AM, Christian Brauner wrote:
>> @@ -313,18 +342,45 @@ static int coda_statfs(struct dentry *dentry, struct kstatfs *buf)
>>  	return 0; 
>>  }
>>  
>> -/* init_coda: used by filesystems.c to register coda */
>> +static int coda_get_tree(struct fs_context *fc)
>> +{
>> +	if (task_active_pid_ns(current) != &init_pid_ns)
>> +		return -EINVAL;
> Fwiw, this check is redundant since you're performing the same check in
> coda_fill_super() again.

That's an error on my part, sorry - David had it removed in his original
patch and I missed it. Would you like me to send a V2?

Thanks,
-Eric




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux