summaryrefslogtreecommitdiffstats
path: root/fs/ceph/xattr.c
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2017-04-27 18:34:00 +0200
committerIlya Dryomov <idryomov@gmail.com>2017-05-04 09:19:24 +0200
commitf775ff7d89f33fc9ba63f6f70df3bcc98c2d9828 (patch)
tree78b25de67d31fd059fafbddee44e5c835694d1b5 /fs/ceph/xattr.c
parentb50c2de51e611da90cf3cf04c058f7e9bbe79e93 (diff)
downloadlinux-stable-f775ff7d89f33fc9ba63f6f70df3bcc98c2d9828.tar.gz
linux-stable-f775ff7d89f33fc9ba63f6f70df3bcc98c2d9828.tar.bz2
linux-stable-f775ff7d89f33fc9ba63f6f70df3bcc98c2d9828.zip
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>
Diffstat (limited to 'fs/ceph/xattr.c')
0 files changed, 0 insertions, 0 deletions