• Linus Torvalds's avatar
    Merge branch 'ufs-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · c8636b90
    Linus Torvalds authored
    Pull ufs fixes from Al Viro:
     "Fix assorted ufs bugs: a couple of deadlocks, fs corruption in
      truncate(), oopsen on tail unpacking and truncate when racing with
      vmscan, mild fs corruption (free blocks stats summary buggered, *BSD
      fsck would complain and fix), several instances of broken logics
      around reserved blocks (starting with "check almost never triggers
      when it should" and then there are issues with sufficiently large
      UFS2)"
    
    [ Note: ufs hasn't gotten any loving in a long time, because nobody
      really seems to use it. These ufs fixes are triggered by people
      actually caring now, not some sudden influx of new bugs.  - Linus ]
    
    * 'ufs-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
      ufs_truncate_blocks(): fix the case when size is in the last direct block
      ufs: more deadlock prevention on tail unpacking
      ufs: avoid grabbing ->truncate_mutex if possible
      ufs_get_locked_page(): make sure we have buffer_heads
      ufs: fix s_size/s_dsize users
      ufs: fix reserved blocks check
      ufs: make ufs_freespace() return signed
      ufs: fix logics in "ufs: make fsck -f happy"
    c8636b90
super.c 44 KB