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