ceph/ceph — pull request #2679 by gregsfortytwo (2014-10-09 22:18:51+00:00)
Title: mds: Locker: fix a NULL deref in _update_cap_fields

The MClientCaps* is allowed to be NULL, so we can't deref it unless
the dirty param is non-zero. So don't do the ahead-of-time lookup;
just call it explicitly in the if block.

Signed-off-by: Greg Farnum