linux_old1/include/linux/ceph
Alex Elder d178a9e740 libceph: don't set flags in ceph_osdc_alloc_request()
The only thing ceph_osdc_alloc_request() really does with the
flags value it is passed is assign it to the newly-created
osd request structure.  Do that in the caller instead.

Both callers subsequently call ceph_osdc_build_request(), so have
that function (instead of ceph_osdc_alloc_request()) issue a warning
if a request comes through with neither the read nor write flags set.

Signed-off-by: Alex Elder <elder@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
2013-01-17 15:52:05 -06:00
..
auth.h ceph: messenger: reduce args to create_authorizer 2012-05-17 08:18:12 -05:00
buffer.h
ceph_debug.h
ceph_features.h libceph: for chooseleaf rules, retry CRUSH map descent from root if leaf is failed 2013-01-17 12:42:39 -06:00
ceph_frag.h
ceph_fs.h libceph: move feature bits to separate header 2012-07-30 16:23:22 -07:00
ceph_hash.h
debugfs.h
decode.h ceph: define ceph_encode_8_safe() 2013-01-17 14:09:08 -06:00
libceph.h libceph: remove 'osdtimeout' option 2012-12-13 08:13:06 -06:00
mdsmap.h BUG: headers with BUG/BUG_ON etc. need linux/bug.h 2012-03-04 17:54:34 -05:00
messenger.h libceph: clean up con flags 2012-07-30 18:16:01 -07:00
mon_client.h libceph: remove unused monc->have_fsid 2012-10-01 14:30:49 -05:00
msgpool.h libceph: initialize msgpool message types 2012-07-30 09:29:50 -07:00
msgr.h
osd_client.h libceph: don't set flags in ceph_osdc_alloc_request() 2013-01-17 15:52:05 -06:00
osdmap.h libceph: pass length to ceph_calc_file_object_mapping() 2013-01-17 15:52:04 -06:00
pagelist.h
rados.h rbd: get parent spec for version 2 images 2012-11-01 07:55:42 -05:00
types.h