From: Alex Elder Date: Fri, 15 Feb 2013 17:42:30 +0000 (-0600) Subject: libceph: kill ceph_osdc_create_event() "one_shot" parameter X-Git-Tag: v3.9-rc1~41^2~21^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c663bbdcdf9296e0fe3362acb9e81f49d7b72c6;p=pandora-kernel.git libceph: kill ceph_osdc_create_event() "one_shot" parameter There is only one caller of ceph_osdc_create_event(), and it provides 0 as its "one_shot" argument. Get rid of that argument and just use 0 in its place. Replace the code in handle_watch_notify() that executes if one_shot is nonzero in the event with a BUG_ON() call. While modifying "osd_client.c", give handle_watch_notify() static scope. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed