Query on ubifs_assert

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

 



Hi,

 FILE: fs/ubifs/misc.h :
 FUNCTION : ubifs_compr_present

"ubifs_compr_present" function has "ubifs_assert" which checks for the
valid compression value
and does a stack_dump if not.

Could there be a case where the "compr_type" is corrupt; if yes, then
does a stack_dump  suffice?
Thus if compr_type is invalid then the below return is not reliable.
    return !!ubifs_compressors[compr_type]->capi_name;

So where does this end, eventually does it go to a point where the
volume get corrupt and not unmountable ?

Cheers

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux