1. 27 May, 2020 1 commit
    • Dave Chinner's avatar
      xfs: gut error handling in xfs_trans_unreserve_and_mod_sb() · dc3ffbb1
      Dave Chinner authored
      xfs: gut error handling in xfs_trans_unreserve_and_mod_sb()
      
      From: Dave Chinner <dchinner@redhat.com>
      
      The error handling in xfs_trans_unreserve_and_mod_sb() is largely
      incorrect - rolling back the changes in the transaction if only one
      counter underruns makes all the other counters incorrect. We still
      allow the change to proceed and committing the transaction, except
      now we have multiple incorrect counters instead of a single
      underflow.
      
      Further, we don't actually report the error to the caller, so this
      is completely silent except on debug kernels that will assert on
      failure before we even get to the rollback code.  Hence this error
      handling is broken, untested, and largely unnecessary complexity.
      
      Just remove it.
      Signed-off-by: default avatarDave Chinner <dchinner@redhat.com>
      Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
      Reviewed-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
      Signed-off-by: default avatarDarrick J. Wong <darrick.wong@oracle.com>
      dc3ffbb1
  2. 19 May, 2020 22 commits
  3. 13 May, 2020 3 commits
  4. 08 May, 2020 14 commits