[PATCH 0/7] Revised set of patches for fuse-ext2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Renzo,

I didn't like how you implemented the truncate function, so I tried
implementing it myself.  I added a more generic ext2fs_punch() function
which is then used by ext2fs_file_size2().

Can you try out how well this works for you?

        	    	    	 - Ted

Renzo Davoli (1):
  libext2fs: Add new function ext2fs_file_get_inode()

Theodore Ts'o (6):
  tst_extents: Fix 64-bit bugs in do_goto_block()
  libext2fs: Fix ext2fs_iblk_{add,sub}_blocks() when the i_blocks_hi is
    non-zero
  libext2fs: Don't make a copy of the inode in ext2fs_extent_open2()
  libext2fs: Add new function ext2fs_punch()
  debugfs: Add new debugfs command punch (aka truncate)
  libext2fs: Add ext2fs_file_size_size2() and truncate the file if
    necessary

 debugfs/debug_cmds.ct  |    3 +
 debugfs/debugfs.8.in   |   12 ++
 debugfs/debugfs.c      |   31 +++++
 debugfs/debugfs.h      |    1 +
 lib/ext2fs/Makefile.in |   32 ++++-
 lib/ext2fs/ext2fs.h    |    8 ++
 lib/ext2fs/extent.c    |   27 ++---
 lib/ext2fs/fileio.c    |   28 +++--
 lib/ext2fs/i_block.c   |   17 ++--
 lib/ext2fs/punch.c     |  324 ++++++++++++++++++++++++++++++++++++++++++++++++
 10 files changed, 446 insertions(+), 37 deletions(-)
 create mode 100644 lib/ext2fs/punch.c

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux