aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorPaul Turner <pjt@google.com>2009-02-18 14:48:15 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-03-16 17:31:56 -0700
commit77a63f3bfdb9bb88fca91cdb4b8ea4af57b00096 (patch)
tree3b9ffbd2cd9e0a554a85847d09cfad1937b51637 /lib/debugobjects.c
parentb441f3fd1d14f4fef74dd339a05da1080f2a7288 (diff)
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 <pjt@google.com> Cc: Eric Biederman <ebiederm@xmission.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions