1. 20 7月, 2011 1 次提交
    • S
      ceph: fix file mode calculation · 38be7a79
      Sage Weil 提交于
      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: NFyodor Ustinov <ufm@ufm.su>
      Signed-off-by: NSage Weil <sage@newdream.net>
      38be7a79
  2. 14 6月, 2011 3 次提交
  3. 08 6月, 2011 5 次提交
  4. 25 5月, 2011 8 次提交
  5. 20 5月, 2011 15 次提交
  6. 19 5月, 2011 6 次提交
  7. 18 5月, 2011 2 次提交