]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Safer read_inline_data()
authorJan Kara <jack@suse.cz>
Wed, 19 Dec 2007 14:24:09 +0000 (15:24 +0100)
committerMark Fasheh <mark.fasheh@oracle.com>
Fri, 25 Jan 2008 23:05:44 +0000 (15:05 -0800)
commit2a087dc4d7d76c791c73c6bc979e2522da2e7ed9
treecdfab35099e97d64e47ebebd14067053ea08459e
parent3675fc0836aece879f5e84ecd54fab6c46959337
ocfs2: Safer read_inline_data()

In ocfs2_read_inline_data() we should store file size in loff_t. Although
the file size should fit in 32 bits we cannot be sure in case filesystem is
corrupted.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/aops.c