summaryrefslogtreecommitdiffstats
path: root/fs/ext2/file.c
diff options
context:
space:
mode:
authornpiggin@suse.de <npiggin@suse.de>2010-05-26 17:05:37 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-05-28 04:15:57 +0200
commit737f2e93b9724a3554f9d0b248c22cd407313f86 (patch)
tree205ceb526d32c5fcc6ad84a85b05afa9c7fc9902 /fs/ext2/file.c
parenttmpfs: convert to use the new truncate convention (diff)
downloadlinux-737f2e93b9724a3554f9d0b248c22cd407313f86.tar.xz
linux-737f2e93b9724a3554f9d0b248c22cd407313f86.zip
ext2: convert to use the new truncate convention.
I also have commented a possible bug in existing ext2 code, marked with XXX. Cc: linux-ext4@vger.kernel.org Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nick Piggin <npiggin@suse.de> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/ext2/file.c')
-rw-r--r--fs/ext2/file.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c
index d82e7ca93455..49eec9456c5b 100644
--- a/fs/ext2/file.c
+++ b/fs/ext2/file.c
@@ -95,7 +95,6 @@ const struct file_operations ext2_xip_file_operations = {
#endif
const struct inode_operations ext2_file_inode_operations = {
- .truncate = ext2_truncate,
#ifdef CONFIG_EXT2_FS_XATTR
.setxattr = generic_setxattr,
.getxattr = generic_getxattr,