commit | e49bf4c51cbe27439c00516d4297193d45dd4097 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@inktank.com> | Mon May 07 15:34:35 2012 -0700 |
committer | Sage Weil <sage@inktank.com> | Mon May 07 15:34:35 2012 -0700 |
tree | 5be5727f0828f74719e7f0783fb1fba829658b47 | |
parent | 3469ac1aa3a2f1e2586a412923c414779a0af854 [diff] |
ceph: refactor SETLAYOUT and SETDIRLAYOUT ioctl checks into common helper 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>