User: Password:
|
|
Subscribe / Log in / New account

copy_range()

copy_range()

Posted Jun 18, 2013 16:39 UTC (Tue) by vedantk (guest, #88435)
Parent article: copy_range()

I'm trying to understand why the in_offset and out_offset parameters need to be pointers. At first I assumed it was to correct for non block-aligned offsets. However, the prototype for vfs_copy_range drops them [1]. Perhaps I missed something on first glance..

[1]
vfs_copy_range(struct file *file_in, loff_t pos_in,
struct file *file_out, loff_t pos_out,
size_t count)


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds