From: Paul Turner Date: Wed, 18 Feb 2009 22:48:15 +0000 (-0800) Subject: vfs: separate FMODE_PREAD/FMODE_PWRITE into separate flags X-Git-Tag: v2.6.27.20~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62c57441c10cc2b19443e8bbcd1728ae6ea3b83c;p=pandora-kernel.git vfs: separate FMODE_PREAD/FMODE_PWRITE into separate flags commit 55ec82176eca52e4e0530a82a0eb59160a1a95a1 upstream. Separate FMODE_PREAD and FMODE_PWRITE into separate flags to reflect the reality that the read and write paths may have independent restrictions. A git grep verifies that these flags are always cleared together so this new behavior will only apply to interfaces that change to clear flags individually. This is required for "seq_file: properly cope with pread", a post-2.6.25 regression fix. [akpm@linux-foundation.org: add comment] Signed-off-by: Paul Turner Cc: Eric Biederman Cc: Alexey Dobriyan Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed