ceph: refactor SETLAYOUT and SETDIRLAYOUT ioctl checks into common helper
authorSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:34:35 +0000 (15:34 -0700)
committerSage Weil <sage@inktank.com>
Mon, 7 May 2012 22:34:35 +0000 (15:34 -0700)
Both of these methods perform similar checks; move that code to a helper
so that we can ensure the checks are consistent.

Reviewed-by: Alex Elder <elder@inktank.com>
Signed-off-by: Sage Weil <sage@inktank.com>

No differences found