aboutsummaryrefslogtreecommitdiff
path: root/include/linux/nfsacl.h
diff options
context:
space:
mode:
authorAlex Elder <elder@inktank.com>2013-04-19 15:34:50 -0500
committerSage Weil <sage@inktank.com>2013-05-01 21:19:17 -0700
commitc3f56102f28d90946171ae51753bd417b003fd42 (patch)
tree7c96c0c4818fa655c6ba4fe61e7de2f1b6915a6a /include/linux/nfsacl.h
parentb587398a4ff6520753f9a58da294c80ee22443a5 (diff)
libceph: validate timespec conversions
A ceph timespec contains 32-bit unsigned values for its seconds and nanoseconds components. For a standard timespec, both fields are signed, and the seconds field is almost surely 64 bits. Add some explicit casts so the fact that this conversion is taking place is obvious. Also trip a bug if we ever try to put out of range (negative or too big) values into a ceph timespec. Signed-off-by: Alex Elder <elder@inktank.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
Diffstat (limited to 'include/linux/nfsacl.h')
0 files changed, 0 insertions, 0 deletions