https://github.com/torvalds/linux
Revision 093e6e3666f47d29763a235b404c84ee47ba8bb0 authored by Yongqiang Yang on 14 December 2011, 03:05:05 UTC, committed by Theodore Ts'o on 14 December 2011, 03:05:05 UTC
If a page has been read into memory and never been written, it has no
buffers, but we should handle the page in truncate or punch hole.

VFS code of writing operations has handled holes correctly, so this
patch removes the code handling holes in writing operations.

Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org
1 parent 13a79a4
Raw File
Tip revision: 093e6e3666f47d29763a235b404c84ee47ba8bb0 authored by Yongqiang Yang on 14 December 2011, 03:05:05 UTC
ext4: correctly handle pages w/o buffers in ext4_discard_partial_buffers()
Tip revision: 093e6e3
dump_stack.c
/*
 * Provide a default dump_stack() function for architectures
 * which don't implement their own.
 */

#include <linux/kernel.h>
#include <linux/module.h>

void dump_stack(void)
{
	printk(KERN_NOTICE
		"This architecture does not implement dump_stack()\n");
}

EXPORT_SYMBOL(dump_stack);
back to top