Files
android_kernel_xiaomi_sm8450/net
Sage Weil 38be7a79f7 ceph: fix file mode calculation
open(2) must always include one of O_RDONLY, O_WRONLY, or O_RDWR.  No need
for any O_APPEND special case.

Passing O_WRONLY|O_RDWR is undefined according to the man page, but the
Linux VFS interprets this as O_RDWR, so we'll do the same.

This fixes open(2) with flags O_RDWR|O_APPEND, which was incorrectly being
translated to readonly.

Reported-by: Fyodor Ustinov <ufm@ufm.su>
Signed-off-by: Sage Weil <sage@newdream.net>
2011-07-19 11:25:04 -07:00
..
2011-05-12 17:05:37 -05:00
2010-10-25 13:09:44 -07:00
2011-05-10 15:03:32 -07:00
2011-03-31 11:26:23 -03:00
2011-05-15 17:16:14 +02:00
2011-07-19 11:25:04 -07:00
2011-03-14 17:02:42 -07:00
2011-01-12 19:00:40 -08:00
2011-03-21 18:16:39 -07:00
2011-03-31 11:26:23 -03:00
2011-03-01 22:51:52 -08:00
2011-03-31 11:26:23 -03:00
2010-04-20 16:37:13 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2010-10-15 15:53:27 +02:00
2011-03-31 11:26:23 -03:00