]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitd2849fb294d92d6eee0a811c688f1ecb39d26800
treecdfab35099e97d64e47ebebd14067053ea08459e
parent5fa0613ea58a80f69852b242337121bd39dc798e
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