]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: EINVAL when rmw_flags is 0
authorSage Weil <sage@inktank.com>
Wed, 27 Mar 2013 19:59:41 +0000 (12:59 -0700)
committerSage Weil <sage@inktank.com>
Wed, 27 Mar 2013 20:09:31 +0000 (13:09 -0700)
commitf2dda43c9ed4fda9cfa87362514985ee79e0ae15
treeaaae3856262e36bdb755c88463fbd0239102d751
parent50b831e3641c21cd5b145271688189e199f432d1
osd: EINVAL when rmw_flags is 0

A broken client (e.g., v0.56) can send a request that ends up with an
rmw_flags of 0.  Treat this as invalid and return EINVAL.

Fixes: #4556
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc