Re: [PATCH v2] btrfs: return EUCLEAN if extent_inline_ref type is invalid

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

 



On Mon, Jun 25, 2018 at 09:28:32AM +0800, Su Yue wrote:
> 
> 
> On 06/22/2018 05:40 PM, David Sterba wrote:
> > On Fri, Jun 22, 2018 at 04:18:01PM +0800, Su Yue wrote:
> >> If type of extent_inline_ref found is not expected, filesystem may have
> >> been corrupted, should return EUCLEAN instead of EINVAL.
> >> No functional changes.
> >>
> >> Signed-off-by: Su Yue <suy.fnst@xxxxxxxxxxxxxx>
> >> ---
> >> Changelog:
> >> v2:
> >>   Add changes in build_backref_tree, get_extent_inline_ref and
> >>     add_inline_refs.
> > 
> > v2 looks good. I saw one implicit check for invalid ref in
> > add_data_references that still returns -EINVAL.
> > 
> > The implicit check is located in relocation.c:3804. I changed
> it in v1 which is not listed in changedlog.
> Did I need to sent v3 to list all functions in commit message?

No, the change is in the patch, I must have overlooked it, sorry. Added
to misc-next now, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux