• Linus Torvalds's avatar
    Merge branch 'ufs-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 021f6019
    Linus Torvalds authored
    Pull more ufs fixes from Al Viro:
     "More UFS fixes, unfortunately including build regression fix for the
      64-bit s_dsize commit. Fixed in this pile:
    
       - trivial bug in signedness of 32bit timestamps on ufs1
    
       - ESTALE instead of ufs_error() when doing open-by-fhandle on
         something deleted
    
       - build regression on 32bit in ufs_new_fragments() - calculating that
         many percents of u64 pulls libgcc stuff on some of those. Mea
         culpa.
    
       - fix hysteresis loop broken by typo in 2.4.14.7 (right next to the
         location of previous bug).
    
       - fix the insane limits of said hysteresis loop on filesystems with
         very low percentage of reserved blocks. If it's 5% or less, just
         use the OPTSPACE policy.
    
       - calculate those limits once and mount time.
    
      This tree does pass xfstests clean (both ufs1 and ufs2) and it _does_
      survive cross-builds.
    
      Again, my apologies for missing that, especially since I have noticed
      a related percentage-of-64bit issue in earlier patches (when dealing
      with amount of reserved blocks). Self-LART applied..."
    
    * 'ufs-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      ufs: fix the logics for tail relocation
      ufs_iget(): fail with -ESTALE on deleted inode
      fix signedness of timestamps on ufs1
    021f6019
super.c 44.3 KB