Thread (3 messages) 3 messages, 2 authors, 2013-06-25

Re: [RFC PATCH] vfs: export lseek_execute() to modules

From: Christoph Hellwig <hch@infradead.org>
Date: 2013-06-24 12:55:14
Also in: linux-fsdevel

On Mon, Jun 24, 2013 at 07:52:24PM +0800, Jeff Liu wrote:
From: Jie Liu <redacted>

For those file systems(btrfs/ext4/xfs/ocfs2/tmpfs) that support
SEEK_DATA/SEEK_HOLE functions, we end up handling the similar
matter in lseek_execute() to verify the final offset.

To reduce the duplications, this patch make lseek_execute() public
accessible so that we can call it directly from them.

Thanks Dave Chinner for this suggestion.
Please add a kerneldoc comment explaining the use of this function.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help