From: Jeff Mahoney Date: Sun, 1 Oct 2006 06:28:44 +0000 (-0700) Subject: [PATCH] reiserfs: use generic_file_open for open() checks X-Git-Tag: v2.6.19-rc1~545 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2618e6a972f305496daa257a56a09dd3acca29;p=pandora-kernel.git [PATCH] reiserfs: use generic_file_open for open() checks The other common disk-based file systems (I checked ext[23], xfs, jfs) check to ensure that opens of files > 2 GB fail unless O_LARGEFILE is specified. They check via generic_file_open or their own open routine. ReiserFS doesn't have an f_op->open defined, and as such, it's possible to open files > 2 GB without O_LARGEFILE. This patch adds the f_op->open member to conform with the expected behavior. Signed-off-by: Jeff Mahoney Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed