1. 07 5月, 2014 1 次提交
  2. 13 9月, 2013 1 次提交
  3. 21 12月, 2012 1 次提交
  4. 10 3月, 2011 1 次提交
  5. 10 8月, 2010 2 次提交
    • A
      BFS: clean up the superblock usage · 4e29d50a
      Artem Bityutskiy 提交于
      BFS is a very simple FS and its superblocks contains only static
      information and is never changed. However, the BFS code for some
      misterious reasons marked its buffer head as dirty from time to
      time, but nothing in that buffer was ever changed.
      
      This patch removes all the BFS superblock manipulation, simply
      because it is not needed. It removes:
      
      1. The si_sbh filed from 'struct bfs_sb_info' because it is not
         needed. We only need to read the SB once on mount to get the
         start of data blocks and the FS size. After this, we can forget
         about the SB.
      2. All instances of 'mark_buffer_dirty(sbh)' for BFS SB because
         it is never changed.
      3. The '->sync_fs()' method because there is nothing to sync
         (inodes are synched by VFS).
      4. The '->write_super()' method, again, because the SB is never
         changed.
      Tested-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      4e29d50a
    • 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
  6. 13 7月, 2009 1 次提交
  7. 27 7月, 2008 1 次提交
  8. 15 11月, 2007 1 次提交
  9. 17 10月, 2007 1 次提交
  10. 10 7月, 2007 1 次提交
  11. 13 2月, 2007 1 次提交
  12. 01 10月, 2006 1 次提交
  13. 29 6月, 2006 1 次提交
  14. 29 3月, 2006 1 次提交
  15. 10 9月, 2005 1 次提交
    • A
      [PATCH] bfs: fix endianness, signedness; add trivial bugfix · fac92bec
      Andrew Stribblehill 提交于
      * Makes BFS code endianness-clean.
      
      * Fixes some signedness warnings.
      
      * Fixes a problem in fs/bfs/inode.c:164 where inodes not synced to disk
        don't get fully marked as clean.  Here's how to reproduce it:
      
      # mount -o loop -t bfs /bfs.img /mnt
      # df -i /mnt
      Filesystem            Inodes   IUsed   IFree IUse% Mounted on
      /bfs.img                  48       1      47    3% /mnt
      # df -k /mnt
      Filesystem           1K-blocks      Used Available Use% Mounted on
      /bfs.img                   512         5       508   1% /mnt
      # cp 60k-archive.zip /mnt/mt.zip
      # df -k /mnt
      Filesystem           1K-blocks      Used Available Use% Mounted on
      /bfs.img                   512        65       447  13% /mnt
      # df -i /mnt
      Filesystem            Inodes   IUsed   IFree IUse% Mounted on
      /bfs.img                  48       2      46    5% /mnt
      # rm /mnt/mt.zip
      # echo $?
      0
      
       [If the unlink happens before the buffers flush, the following happens:]
      
      # df -i /mnt
      Filesystem            Inodes   IUsed   IFree IUse% Mounted on
      /bfs.img                  48       2      46    5% /mnt
      # df -k /mnt
      Filesystem           1K-blocks      Used Available Use% Mounted on
      /bfs.img                   512        65       447  13% /mnt
      
       fs/bfs/bfs.h           |    1
      Signed-off-by: NAndrew Stribblehill <ads@wompom.org>
      Cc: <tigran@veritas.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      fac92bec
  16. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4