Re: [PATCH] isofs: convert isofs to use the new mount API

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

 



On 3/7/24 6:42 AM, Jan Kara wrote:
> Hi Eric!
> 
> Thanks for the conversion!
> 
> On Fri 01-03-24 16:56:41, Eric Sandeen wrote:
>> -static int isofs_remount(struct super_block *sb, int *flags, char *data)
>> +static int iso9660_reconfigure(struct fs_context *fc)
> 	      ^^^ Why this renaming? Practically all the function have
> isofs prefix, not iso9660 so I'd prefer to keep it. Similarly with other
> vars defined below. If anything, I'd rename struct iso9660_options to
> struct isofs_options...

I don't remember ;) I was thinking I'd seen both used. Happy to keep everything
as isofs.

>>  {
>> -	sync_filesystem(sb);
>> -	if (!(*flags & SB_RDONLY))
>> +	sync_filesystem(fc->root->d_sb);
>> +	if (!(fc->sb_flags & SB_RDONLY) & SB_RDONLY)
> 					^^^ What's this about?

a braino, oops.

> Otherwise the patch looks good to me!

Will get V2 going shortly. Thanks for the review!

-Eric

> 								Honza





[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