1. 16 3月, 2015 1 次提交
    • F
      udf: use int for allocated blocks instead of sector_t · 1be440de
      Fabian Frederick 提交于
      Fix the following warnings:
      
      fs/udf/balloc.c:768:15: warning: conversion to 'sector_t' from 'int'
      may change the sign of the result [-Wsign-conversion]
         allocated = udf_bitmap_prealloc_blocks(sb,
                     ^
      fs/udf/balloc.c:773:15: warning: conversion to 'sector_t' from 'int'
      may change the sign of the result [-Wsign-conversion]
         allocated = udf_table_prealloc_blocks(sb,
                     ^
      fs/udf/balloc.c:778:15: warning: conversion to 'sector_t' from 'int'
      may change the sign of the result [-Wsign-conversion]
         allocated = udf_bitmap_prealloc_blocks(sb,
                     ^
      fs/udf/balloc.c:783:15: warning: conversion to 'sector_t' from 'int'
      may change the sign of the result [-Wsign-conversion]
         allocated = udf_table_prealloc_blocks(sb,
                     ^
      fs/udf/balloc.c:791:26: warning: conversion to 'loff_t' from 'sector_t'
      may change the sign of the result [-Wsign-conversion]
         inode_add_bytes(inode, allocated << sb->s_blocksize_bits);
                                ^
      fs/udf/balloc.c:792:2: warning: conversion to 'int' from 'sector_t'
      may alter its value [-Wconversion]
        return allocated;
      Suggested-by: NJan Kara <jack@suse.cz>
      Signed-off-by: NFabian Frederick <fabf@skynet.be>
      Signed-off-by: NJan Kara <jack@suse.cz>
      1be440de
  2. 14 3月, 2015 3 次提交
  3. 01 3月, 2012 1 次提交
    • J
      udf: Fix handling of i_blocks · fd4287db
      Jan Kara 提交于
      Commit 36350462 removed unused quota support from UDF. As an unfortunate
      sideeffect it also removed updates of i_blocks so all files had i_block == 0.
      Fix the problem by returning updates of file space back to UDF allocation and
      freeing functions.
      Signed-off-by: NJan Kara <jack@suse.cz>
      fd4287db
  4. 01 11月, 2011 1 次提交
  5. 24 3月, 2011 1 次提交
  6. 23 2月, 2011 1 次提交
    • D
      UDF: Fix compiler warning · 6f644e5f
      Dirk Behme 提交于
      Fix compiler warning
      
      fs/udf/balloc.c: In function 'udf_bitmap_new_block':
      fs/udf/balloc.c:273: warning: passing argument 1 of '_find_next_bit_le' from incompatible pointer type
      fs/udf/balloc.c:285: warning: passing argument 1 of '_find_next_bit_le' from incompatible pointer type
      fs/udf/balloc.c:311: warning: passing argument 1 of '_find_next_bit_le' from incompatible pointer type
      fs/udf/balloc.c:325: warning: passing argument 1 of '_find_next_bit_le' from incompatible pointer type
      
      The main fix is to add a cast in ext2_find_next_bit().
      
      As all other usage locations of udf_find_next_one_bit()
      directly use bh->b_data (which is a char *), the useless
      (char *) cast in line 311 can be removed, too.
      Signed-off-by: NDirk Behme <dirk.behme@de.bosch.com>
      Signed-off-by: NGeorge G. Davis <gdavis@mvista.com>
      Signed-off-by: NJan Kara <jack@suse.cz>
      6f644e5f
  7. 07 1月, 2011 1 次提交
  8. 24 5月, 2010 1 次提交
    • J
      udf: Remove dead quota code · 36350462
      Jan Kara 提交于
      Quota on UDF is non-functional at least since 2.6.16 (I'm too lazy to
      do more archeology) because it does not provide .quota_write and .quota_read
      functions and thus quotaon(8) just returns EINVAL. Since nobody complained
      for all those years and quota support is not even in UDF standard just nuke
      it.
      Signed-off-by: NJan Kara <jack@suse.cz>
      36350462
  9. 08 4月, 2010 1 次提交
  10. 10 3月, 2010 1 次提交
  11. 05 3月, 2010 1 次提交
    • C
      dquot: cleanup space allocation / freeing routines · 5dd4056d
      Christoph Hellwig 提交于
      Get rid of the alloc_space, free_space, reserve_space, claim_space and
      release_rsv dquot operations - they are always called from the filesystem
      and if a filesystem really needs their own (which none currently does)
      it can just call into it's own routine directly.
      
      Move shared logic into the common __dquot_alloc_space,
      dquot_claim_space_nodirty and __dquot_free_space low-level methods,
      and rationalize the wrappers around it to move as much as possible
      code into the common block for CONFIG_QUOTA vs not.  Also rename
      all these helpers to be named dquot_* instead of vfs_dq_*.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJan Kara <jack@suse.cz>
      5dd4056d
  12. 04 3月, 2010 1 次提交
  13. 15 12月, 2009 1 次提交
  14. 24 6月, 2009 1 次提交
  15. 02 4月, 2009 4 次提交
  16. 26 3月, 2009 1 次提交
  17. 17 4月, 2008 1 次提交
  18. 14 2月, 2008 1 次提交
  19. 09 2月, 2008 7 次提交
  20. 17 10月, 2007 1 次提交
  21. 31 8月, 2007 1 次提交
  22. 22 7月, 2007 1 次提交
  23. 20 7月, 2007 1 次提交
  24. 09 5月, 2007 2 次提交
  25. 23 3月, 2006 1 次提交
  26. 04 2月, 2006 1 次提交
  27. 09 1月, 2006 1 次提交
  28. 03 1月, 2006 1 次提交