Skip to content
  • Jeff Mahoney's avatar
    btrfs: replace many BUG_ONs with proper error handling · 79787eaa
    Jeff Mahoney authored and kdave's avatar kdave committed
    
    
     btrfs currently handles most errors with BUG_ON. This patch is a work-in-
     progress but aims to handle most errors other than internal logic
     errors and ENOMEM more gracefully.
    
     This iteration prevents most crashes but can run into lockups with
     the page lock on occasion when the timing "works out."
    
    Signed-off-by: default avatarJeff Mahoney <jeffm@suse.com>
    79787eaa