1. 23 6月, 2006 1 次提交
  2. 22 6月, 2006 3 次提交
  3. 21 6月, 2006 1 次提交
  4. 20 6月, 2006 3 次提交
    • D
      [GFS2] Fix printk format warnings in DLM code · 0239c4ae
      David Woodhouse 提交于
      fs/gfs2/locking/dlm/thread.c: In function ‘process_complete’:
      fs/gfs2/locking/dlm/thread.c:56: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’
      fs/gfs2/locking/dlm/thread.c:69: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’
      fs/gfs2/locking/dlm/thread.c:102: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 3 has type ‘uint64_t’
      fs/gfs2/locking/dlm/thread.c:124: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’
      fs/gfs2/locking/dlm/thread.c:146: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’
      fs/gfs2/locking/dlm/thread.c:148: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 4 has type ‘uint64_t’
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      0239c4ae
    • D
      [GFS2] Fix use of bitops on unsigned int (struct gfs2_holder->gh_iflags) · 695165df
      David Woodhouse 提交于
      fs/gfs2/glock.c: In function ‘gfs2_holder_get’:
      fs/gfs2/glock.c:439: warning: passing argument 2 of ‘set_bit’ from incompatible pointer type
      fs/gfs2/glock.c: In function ‘rq_promote’:
      fs/gfs2/glock.c:512: warning: passing argument 2 of ‘set_bit’ from incompatible pointer type
      fs/gfs2/glock.c:526: warning: passing argument 2 of ‘set_bit’ from incompatible pointer type
       ...
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      695165df
    • P
      [DLM] Fix potential conflict in DLM userland locks · 9f5aa2a9
      Patrick Caulfield 提交于
      Just spotted this one. The lockinfo structs are hashed by lockid but into a
      global structure. So that if there are two lockspaces with the same lockid all
      hell breaks loose. I'm not exactly sure what will happen but it can't be good!
      
      The attached patch moves the lockinfo_idr into the user_ls structure so that
      lockids are localised.
      
      patrick
      Signed-Off-By: NPatrick Caulfield <pcaulfie@redhat.com>
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      9f5aa2a9
  5. 19 6月, 2006 3 次提交
  6. 18 6月, 2006 1 次提交
  7. 15 6月, 2006 1 次提交
    • S
      [GFS2] Fix unlinked file handling · feaa7bba
      Steven Whitehouse 提交于
      This patch fixes the way we have been dealing with unlinked,
      but still open files. It removes all limits (other than memory
      for inodes, as per every other filesystem) on numbers of these
      which we can support on GFS2. It also means that (like other
      fs) its the responsibility of the last process to close the file
      to deallocate the storage, rather than the person who did the
      unlinking. Note that with GFS2, those two events might take place
      on different nodes.
      
      Also there are a number of other changes:
      
       o We use the Linux inode subsystem as it was intended to be
      used, wrt allocating GFS2 inodes
       o The Linux inode cache is now the point which we use for
      local enforcement of only holding one copy of the inode in
      core at once (previous to this we used the glock layer).
       o We no longer use the unlinked "special" file. We just ignore it
      completely. This makes unlinking more efficient.
       o We now use the 4th block allocation state. The previously unused
      state is used to track unlinked but still open inodes.
       o gfs2_inoded is no longer needed
       o Several fields are now no longer needed (and removed) from the in
      core struct gfs2_inode
       o Several fields are no longer needed (and removed) from the in core
      superblock
      
      There are a number of future possible optimisations and clean ups
      which have been made possible by this patch.
      Signed-off-by: NSteven Whitehouse <swhiteho@redhat.com>
      feaa7bba
  8. 14 6月, 2006 1 次提交
  9. 10 6月, 2006 1 次提交
  10. 09 6月, 2006 1 次提交
    • J
      [PATCH] debugfs inode leak · 71601e2b
      Jens Axboe 提交于
      Looking at the reiser4 crash, I found a leak in debugfs. In
      debugfs_mknod(), we create the inode before checking if the dentry
      already has one attached. We don't free it if that is the case.
      
      These bugs happen quite often, I'm starting to think we should disallow
      such coding in CodingStyle.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      71601e2b
  11. 07 6月, 2006 2 次提交
  12. 06 6月, 2006 1 次提交
  13. 01 6月, 2006 1 次提交
  14. 31 5月, 2006 7 次提交
  15. 27 5月, 2006 1 次提交
  16. 26 5月, 2006 2 次提交
  17. 24 5月, 2006 5 次提交
  18. 22 5月, 2006 5 次提交