Re: [PATCH 06/18] btrfs: split out ro->rw and rw->ro helpers into their own functions

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

 



On Tue, Nov 07, 2023 at 03:16:50PM +0000, Johannes Thumshirn wrote:
> On 06.11.23 23:09, Josef Bacik wrote:
> > +	if (btrfs_super_log_root(fs_info->super_copy) != 0) {
> > +		btrfs_warn(fs_info,
> > +			   "mount required to replay tree-log, cannot remount read-write");
> > +		return -EINVAL;
> > +	}
> 
> I get that this is only a copy of the old code, but if you have to 
> re-spin the series:
> 
> 	ret = btrfs_super_log_root(fs_info->super_copy);
> 	if (ret) {
> 		/* [...] */
> 	}

This tells us the bytenr, it's not a return value.  Thanks,

Josef




[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