alistair23-linux/fs/ocfs2
Mark Fasheh 60b11392f1 ocfs2: zero tail of sparse files on truncate
Since we don't zero on extend anymore, truncate needs to be fixed up to zero
the part of a file between i_size and and end of it's cluster. Otherwise a
subsequent extend could expose bad data.

This introduced a new helper, which can be used in ocfs2_write().

Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
2007-04-26 15:02:20 -07:00
..
cluster ocfs2: Remove delete inode vote 2007-04-26 14:39:48 -07:00
dlm ocfs2: Silence compiler warnings 2007-04-26 13:38:55 -07:00
alloc.c ocfs2: zero tail of sparse files on truncate 2007-04-26 15:02:20 -07:00
alloc.h ocfs2: zero tail of sparse files on truncate 2007-04-26 15:02:20 -07:00
aops.c ocfs2: zero tail of sparse files on truncate 2007-04-26 15:02:20 -07:00
aops.h ocfs2: zero tail of sparse files on truncate 2007-04-26 15:02:20 -07:00
buffer_head_io.c
buffer_head_io.h
dcache.c
dcache.h
dir.c ocfs2: temporarily remove extent map caching 2007-04-26 15:01:31 -07:00
dir.h
dlmglue.c ocfs2: temporarily remove extent map caching 2007-04-26 15:01:31 -07:00
dlmglue.h ocfs2: Remove delete inode vote 2007-04-26 14:39:48 -07:00
endian.h
export.c ocfs2: cleanup ocfs2_iget() errors 2007-01-21 16:19:12 -08:00
export.h
extent_map.c ocfs2: teach ocfs2_file_aio_write() about sparse files 2007-04-26 15:02:08 -07:00
extent_map.h ocfs2: teach ocfs2_file_aio_write() about sparse files 2007-04-26 15:02:08 -07:00
file.c ocfs2: zero tail of sparse files on truncate 2007-04-26 15:02:20 -07:00
file.h ocfs2: teach ocfs2_file_aio_write() about sparse files 2007-04-26 15:02:08 -07:00
heartbeat.c ocfs2: Proper cleanup in case of error in ocfs2_register_hb_callbacks() 2007-03-14 14:37:09 -07:00
heartbeat.h
inode.c ocfs2: zero tail of sparse files on truncate 2007-04-26 15:02:20 -07:00
inode.h ocfs2: temporarily remove extent map caching 2007-04-26 15:01:31 -07:00
ioctl.c
ioctl.h
journal.c ocfs2: temporarily remove extent map caching 2007-04-26 15:01:31 -07:00
journal.h ocfs2: ocfs2_link() journal credits update 2007-02-01 12:03:19 -08:00
localalloc.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
localalloc.h
Makefile
mmap.c ocfs2: Turn off shared writeable mmap for local files systems with holes. 2007-04-26 15:02:01 -07:00
mmap.h
namei.c ocfs2: temporarily remove extent map caching 2007-04-26 15:01:31 -07:00
namei.h [PATCH] mark struct inode_operations const 2 2007-02-12 09:48:46 -08:00
ocfs1_fs_compat.h
ocfs2.h ocfs2: zero tail of sparse files on truncate 2007-04-26 15:02:20 -07:00
ocfs2_fs.h ocfs2: sparse b-tree support 2007-04-26 14:44:03 -07:00
ocfs2_lockid.h ocfs2: Remove delete inode vote 2007-04-26 14:39:48 -07:00
slot_map.c ocfs2: temporarily remove extent map caching 2007-04-26 15:01:31 -07:00
slot_map.h
suballoc.c [PATCH] Fix numerous kcalloc() calls, convert to kzalloc() 2006-12-13 09:05:52 -08:00
suballoc.h
super.c ocfs2: temporarily remove extent map caching 2007-04-26 15:01:31 -07:00
super.h
symlink.c [PATCH] mark struct inode_operations const 2 2007-02-12 09:48:46 -08:00
symlink.h [PATCH] mark struct inode_operations const 2 2007-02-12 09:48:46 -08:00
sysfile.c
sysfile.h
uptodate.c
uptodate.h
ver.c
ver.h
vote.c ocfs2: remove unused code 2007-04-26 14:40:16 -07:00
vote.h ocfs2: remove unused code 2007-04-26 14:40:16 -07:00