1. 12 4月, 2011 1 次提交
  2. 13 1月, 2011 1 次提交
  3. 10 8月, 2010 1 次提交
    • C
      check ATTR_SIZE contraints in inode_change_ok · 2c27c65e
      Christoph Hellwig 提交于
      Make sure we check the truncate constraints early on in ->setattr by adding
      those checks to inode_change_ok.  Also clean up and document inode_change_ok
      to make this obvious.
      
      As a fallout we don't have to call inode_newsize_ok from simple_setsize and
      simplify it down to a truncate_setsize which doesn't return an error.  This
      simplifies a lot of setattr implementations and means we use truncate_setsize
      almost everywhere.  Get rid of fat_setsize now that it's trivial and mark
      ext2_setsize static to make the calling convention obvious.
      
      Keep the inode_newsize_ok in vmtruncate for now as all callers need an
      audit for its removal anyway.
      
      Note: setattr code in ecryptfs doesn't call inode_change_ok at all and
      needs a deeper audit, but that is left for later.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      2c27c65e
  4. 28 5月, 2010 2 次提交
  5. 25 5月, 2010 1 次提交
  6. 17 5月, 2010 1 次提交
  7. 21 11月, 2009 1 次提交
  8. 20 9月, 2009 1 次提交
    • O
      fat: Check s_dirt in fat_sync_fs() · ed248b29
      OGAWA Hirofumi 提交于
      If we didn't check sb->s_dirt, it will update the FSINFO
      unconditionally. It will reduce the filetime of flash base device.
      
      So, this checks sb->s_dirt. sb->s_dirt is racy, however FSINFO is just
      hint. So even if there is race, and we hit it, it would not become big
      problem.
      
      And this also is as workaround of suspend problem.
      Signed-off-by: NOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
      ed248b29
  9. 12 6月, 2009 1 次提交
  10. 04 6月, 2009 1 次提交
  11. 07 11月, 2008 9 次提交
  12. 26 7月, 2008 3 次提交
  13. 09 6月, 2008 1 次提交
  14. 28 4月, 2008 4 次提交
  15. 17 7月, 2007 1 次提交
  16. 09 5月, 2007 1 次提交
  17. 13 2月, 2007 1 次提交
  18. 17 11月, 2006 1 次提交
  19. 30 9月, 2006 1 次提交
  20. 24 9月, 2006 1 次提交
  21. 29 3月, 2006 2 次提交
  22. 23 3月, 2006 1 次提交
  23. 22 3月, 2006 1 次提交
  24. 09 1月, 2006 1 次提交
  25. 31 10月, 2005 1 次提交