linux/fs/ceph
Alexander Graf f775ff7d89 ceph: fix file open flags on ppc64
The file open flags (O_foo) are platform specific and should never go
out to an interface that is not local to the system.

Unfortunately these flags have leaked out onto the wire in the cephfs
implementation. That lead to bogus flags getting transmitted on ppc64.

This patch converts the kernel view of flags to the ceph view of file
open flags.

Fixes: 124e68e74 ("ceph: file operations")
Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-05-04 09:19:24 +02:00
..
acl.c
addr.c ceph: when seeing write errors on an inode, switch to sync writes 2017-05-04 09:19:22 +02:00
cache.c
cache.h
caps.c ceph: handle epoch barriers in cap messages 2017-05-04 09:19:21 +02:00
ceph_frag.c
debugfs.c ceph: allow connecting to mds whose rank >= mdsmap::m_max_mds 2017-05-04 09:19:20 +02:00
dir.c ceph: choose readdir frag based on previous readdir reply 2017-05-04 09:19:24 +02:00
export.c
file.c ceph: fix file open flags on ppc64 2017-05-04 09:19:24 +02:00
inode.c ceph: make seeky readdir more efficient 2017-05-04 09:19:20 +02:00
ioctl.c
ioctl.h
Kconfig
locks.c
Makefile
mds_client.c ceph: handle epoch barriers in cap messages 2017-05-04 09:19:21 +02:00
mds_client.h ceph: handle epoch barriers in cap messages 2017-05-04 09:19:21 +02:00
mdsmap.c ceph: allow connecting to mds whose rank >= mdsmap::m_max_mds 2017-05-04 09:19:20 +02:00
snap.c ceph: convert ceph_cap_snap.nref from atomic_t to refcount_t 2017-05-04 09:19:18 +02:00
strings.c
super.c libceph, ceph: always advertise all supported features 2017-05-04 09:19:18 +02:00
super.h ceph: when seeing write errors on an inode, switch to sync writes 2017-05-04 09:19:22 +02:00
xattr.c