]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
kernel_read: redefine offset type
authorMimi Zohar <zohar@linux.vnet.ibm.com>
Fri, 21 Aug 2009 18:32:48 +0000 (14:32 -0400)
committerJames Morris <jmorris@namei.org>
Mon, 24 Aug 2009 04:58:23 +0000 (14:58 +1000)
commit6777d773a463ac045d333b989d4e44660f8d92ad
tree17291984d71515cec0a1970ecce3d631ed2f7981
parent3edf2fb9d80a46d6c32ba12547a42419845b4b76
kernel_read: redefine offset type

vfs_read() offset is defined as loff_t, but kernel_read()
offset is only defined as unsigned long. Redefine
kernel_read() offset as loff_t.

Cc: stable@kernel.org
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
fs/exec.c
include/linux/fs.h