1. 06 10月, 2012 1 次提交
  2. 24 6月, 2011 1 次提交
  3. 10 3月, 2011 1 次提交
  4. 10 8月, 2010 3 次提交
    • C
      remove inode_setattr · 1025774c
      Christoph Hellwig 提交于
      Replace inode_setattr with opencoded variants of it in all callers.  This
      moves the remaining call to vmtruncate into the filesystem methods where it
      can be replaced with the proper truncate sequence.
      
      In a few cases it was obvious that we would never end up calling vmtruncate
      so it was left out in the opencoded variant:
      
       spufs: explicitly checks for ATTR_SIZE earlier
       btrfs,hugetlbfs,logfs,dlmfs: explicitly clears ATTR_SIZE earlier
       ufs: contains an opencoded simple_seattr + truncate that sets the filesize just above
      
      In addition to that ncpfs called inode_setattr with handcrafted iattrs,
      which allowed to trim down the opencoded variant.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      1025774c
    • C
      add missing setattr methods · d39aae9e
      Christoph Hellwig 提交于
      For the new truncate sequence every filesystem that wants to truncate on-disk
      state needs a seattr method.  Convert the remaining filesystems that implement
      the truncate inode operation to have its own setattr method.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      d39aae9e
    • C
      get rid of block_write_begin_newtrunc · 155130a4
      Christoph Hellwig 提交于
      Move the call to vmtruncate to get rid of accessive blocks to the callers
      in preparation of the new truncate sequence and rename the non-truncating
      version to block_write_begin.
      
      While we're at it also remove several unused arguments to block_write_begin.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      155130a4
  5. 09 8月, 2010 1 次提交
  6. 11 7月, 2010 1 次提交
  7. 28 5月, 2010 1 次提交
    • C
      rename the generic fsync implementations · 1b061d92
      Christoph Hellwig 提交于
      We don't name our generic fsync implementations very well currently.
      The no-op implementation for in-memory filesystems currently is called
      simple_sync_file which doesn't make too much sense to start with,
      the the generic one for simple filesystems is called simple_fsync
      which can lead to some confusion.
      
      This patch renames the generic file fsync method to generic_file_fsync
      to match the other generic_file_* routines it is supposed to be used
      with, and the no-op implementation to noop_fsync to make it obvious
      what to expect.  In addition add some documentation for both methods.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      1b061d92
  8. 02 10月, 2009 1 次提交
  9. 22 9月, 2009 2 次提交
  10. 12 6月, 2009 1 次提交
  11. 15 8月, 2008 1 次提交
  12. 31 7月, 2008 1 次提交
    • H
      omfs: sparse annotations · d406f66d
      Harvey Harrison 提交于
      Missing cpu_to_be64 on some constant assignments.
      fs/omfs/dir.c:107:16: warning: incorrect type in assignment (different base types)
      fs/omfs/dir.c:107:16:    expected restricted __be64 [usertype] i_sibling
      fs/omfs/dir.c:107:16:    got unsigned long long
      fs/omfs/file.c:33:13: warning: incorrect type in assignment (different base types)
      fs/omfs/file.c:33:13:    expected restricted __be64 [usertype] e_next
      fs/omfs/file.c:33:13:    got unsigned long long
      fs/omfs/file.c:36:24: warning: incorrect type in assignment (different base types)
      fs/omfs/file.c:36:24:    expected restricted __be64 [usertype] e_cluster
      fs/omfs/file.c:36:24:    got unsigned long long
      fs/omfs/file.c:37:23: warning: incorrect type in assignment (different base types)
      fs/omfs/file.c:37:23:    expected restricted __be64 [usertype] e_blocks
      fs/omfs/file.c:37:23:    got unsigned long long
      
      fs/omfs/bitmap.c:74:18: warning: incorrect type in argument 2 (different signedness)
      fs/omfs/bitmap.c:74:18:    expected unsigned long volatile *addr
      fs/omfs/bitmap.c:74:18:    got long *<noident>
      fs/omfs/bitmap.c:77:20: warning: incorrect type in argument 2 (different signedness)
      fs/omfs/bitmap.c:77:20:    expected unsigned long volatile *addr
      fs/omfs/bitmap.c:77:20:    got long *<noident>
      fs/omfs/bitmap.c:112:17: warning: incorrect type in argument 2 (different signedness)
      fs/omfs/bitmap.c:112:17:    expected unsigned long volatile *addr
      fs/omfs/bitmap.c:112:17:    got long *<noident>
      Signed-off-by: NHarvey Harrison <harvey.harrison@gmail.com>
      Acked-by: NBob Copeland <me@bobcopeland.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      d406f66d
  13. 27 7月, 2008 1 次提交