ceph: avoid possible null dereference
authorSage Weil <sage@newdream.net>
Tue, 25 May 2010 16:24:42 +0000 (09:24 -0700)
committerSage Weil <sage@newdream.net>
Sat, 29 May 2010 16:12:36 +0000 (09:12 -0700)
commite95e9a7ae4c1e7655a0438579f891b3c60178d77
tree7704aabe47fe7ad8347717b4b6e2b58224b78d9b
parentaa91647c898d62e869fcf35e977ab3c533be8fc1
ceph: avoid possible null dereference

ac->ops may be null; use protocol id in error message instead.

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
fs/ceph/auth.c