1. 05 9月, 2012 1 次提交
    • J
      udf: Fix data corruption for files in ICB · 9c2fc0de
      Jan Kara 提交于
      When a file is stored in ICB (inode), we overwrite part of the file, and
      the page containing file's data is not in page cache, we end up corrupting
      file's data by overwriting them with zeros. The problem is we use
      simple_write_begin() which simply zeroes parts of the page which are not
      written to. The problem has been introduced by be021ee4 (udf: convert to
      new aops).
      
      Fix the problem by providing a ->write_begin function which makes the page
      properly uptodate.
      
      CC: <stable@vger.kernel.org> # >= 2.6.24
      Reported-by: NIan Abbott <abbotti@mev.co.uk>
      Signed-off-by: NJan Kara <jack@suse.cz>
      9c2fc0de
  2. 15 8月, 2012 3 次提交
  3. 14 7月, 2012 2 次提交
  4. 13 7月, 2012 1 次提交
  5. 11 7月, 2012 1 次提交
  6. 09 7月, 2012 4 次提交
  7. 29 6月, 2012 3 次提交
  8. 30 5月, 2012 1 次提交
  9. 11 5月, 2012 1 次提交
    • L
      vfs: make it possible to access the dentry hash/len as one 64-bit entry · 26fe5750
      Linus Torvalds 提交于
      This allows comparing hash and len in one operation on 64-bit
      architectures.  Right now only __d_lookup_rcu() takes advantage of this,
      since that is the case we care most about.
      
      The use of anonymous struct/unions hides the alternate 64-bit approach
      from most users, the exception being a few cases where we initialize a
      'struct qstr' with a static initializer.  This makes the problematic
      cases use a new QSTR_INIT() helper function for that (but initializing
      just the name pointer with a "{ .name = xyzzy }" initializer remains
      valid, as does just copying another qstr structure).
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      26fe5750
  10. 06 5月, 2012 1 次提交
  11. 21 3月, 2012 2 次提交
  12. 20 3月, 2012 1 次提交
  13. 11 3月, 2012 1 次提交
  14. 01 3月, 2012 5 次提交
  15. 09 1月, 2012 4 次提交
  16. 07 1月, 2012 1 次提交
  17. 04 1月, 2012 5 次提交
  18. 02 11月, 2011 2 次提交
  19. 01 11月, 2011 1 次提交