Paul Turner 55ec82176e 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>
2009-02-18 15:37:53 -08:00
..
2009-01-30 19:50:25 +05:30
2009-01-30 19:59:53 +05:30
2009-01-11 01:34:25 +01:00
2009-01-09 12:37:15 -08:00
2009-01-30 23:30:42 +05:30
2009-01-30 23:32:45 +05:30
2009-01-30 23:33:12 +05:30
2009-01-30 23:37:37 +05:30
2008-10-20 11:01:52 -07:00
2009-01-30 23:38:03 +05:30
2008-12-29 08:29:50 +01:00
2009-02-02 22:45:10 -05:00
2009-01-30 23:38:37 +05:30
2008-12-03 22:12:38 -08:00
2008-12-03 22:12:38 -08:00
2009-01-30 23:39:42 +05:30
2008-10-20 08:52:42 -07:00
2009-01-30 23:40:06 +05:30
2009-01-06 15:59:29 -08:00
2009-01-01 10:12:19 +10:30
2009-01-04 13:33:20 -08:00
2008-11-12 17:17:18 -08:00
2009-01-30 23:44:08 +05:30
2009-01-02 12:19:34 -08:00
2008-12-29 17:47:23 +10:00
2008-12-25 11:01:43 +11:00
2008-11-24 18:57:41 -05:00
2009-02-05 16:48:53 +11:00
2008-12-31 18:07:38 -05:00
2009-01-28 07:50:14 -08:00
2009-01-30 23:46:03 +05:30
2009-01-30 23:46:40 +05:30
2009-01-30 23:48:33 +05:30
2009-01-30 23:49:07 +05:30
2008-12-15 23:44:31 -08:00
2008-12-29 11:27:46 +02:00
2008-12-31 18:07:42 -05:00
2008-12-01 19:14:02 +01:00
2009-01-06 15:59:01 -08:00
2008-12-08 01:14:16 -08:00
2009-01-30 23:50:37 +05:30
2009-01-30 23:51:17 +05:30
2009-01-26 21:19:52 +01:00
2009-01-30 23:51:41 +05:30
2009-01-30 23:52:16 +05:30
2009-01-30 23:53:12 +05:30
2009-01-30 23:53:40 +05:30
2009-01-30 23:54:53 +05:30
2009-01-30 23:55:45 +05:30
2009-01-30 23:56:13 +05:30
2009-01-30 23:56:48 +05:30
2009-01-06 10:50:09 -08:00
2009-01-30 23:57:16 +05:30
2008-10-29 22:02:09 +01:00
2008-11-03 18:21:45 +01:00
2009-01-30 23:58:41 +05:30
2009-01-30 23:59:44 +05:30
2009-01-31 00:00:06 +05:30
2009-01-15 16:39:37 -08:00
2009-01-05 08:40:30 -08:00
2008-12-31 15:11:46 +01:00
2009-01-31 00:00:35 +05:30
2009-01-08 08:31:07 -08:00
2009-01-31 00:01:11 +05:30
2008-12-08 14:31:59 +01:00
2008-11-19 18:49:57 -08:00
2009-01-07 17:38:31 -05:00
2008-12-23 15:21:45 -05:00
2008-12-19 15:22:54 -05:00
2009-01-31 00:15:24 +05:30
2008-12-21 14:21:14 +11:00
2009-01-08 08:31:05 -08:00
2009-01-31 00:02:54 +05:30
2008-11-28 16:24:56 -08:00
2009-01-08 08:31:12 -08:00
2009-01-31 00:03:40 +05:30
2009-01-06 10:44:30 -08:00
2008-10-23 00:11:07 -04:00
2009-01-06 15:59:12 -08:00
2009-01-31 00:05:30 +05:30
2008-10-23 18:54:05 +04:00
2008-12-20 09:15:46 +01:00
2009-01-16 18:02:10 +01:00
2009-01-05 18:31:12 -08:00
2009-01-31 00:05:59 +05:30
2008-11-12 17:17:17 -08:00
2008-11-16 19:39:21 -08:00
2009-01-04 13:33:20 -08:00
2009-01-07 09:58:22 +11:00
2009-01-31 00:06:33 +05:30
2008-12-15 23:42:33 -08:00
2008-11-24 21:27:22 -08:00
2009-01-31 00:07:00 +05:30
2008-11-02 10:15:07 -08:00
2009-01-08 08:31:10 -08:00
2009-01-31 00:07:31 +05:30
2009-02-11 14:25:36 -08:00
2009-01-01 10:12:25 +10:30
2008-12-12 17:01:38 +01:00
2009-01-02 10:19:36 -08:00
2009-01-31 00:10:59 +05:30
2009-02-18 15:37:53 -08:00
2009-01-06 15:59:09 -08:00