diff options
author | Paul Turner <pjt@google.com> | 2009-02-18 14:48:15 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-02-18 15:37:53 -0800 |
commit | 55ec82176eca52e4e0530a82a0eb59160a1a95a1 (patch) | |
tree | 2d052ca4cf055fbcfc4b019ec45f8df5eea13749 /fs/seq_file.c | |
parent | b851ee7921fabdd7dfc96ffc4e9609f5062bd12b (diff) | |
download | linux-exynos-55ec82176eca52e4e0530a82a0eb59160a1a95a1.tar.gz linux-exynos-55ec82176eca52e4e0530a82a0eb59160a1a95a1.tar.bz2 linux-exynos-55ec82176eca52e4e0530a82a0eb59160a1a95a1.zip |
vfs: separate FMODE_PREAD/FMODE_PWRITE into separate flags
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>
Cc: <stable@kernel.org> [2.6.25.x, 2.6.26.x, 2.6.27.x, 2.6.28.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/seq_file.c')
0 files changed, 0 insertions, 0 deletions