]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite43147dcc45a50455e055097bfe78920c615abe2
tree7704aabe47fe7ad8347717b4b6e2b58224b78d9b
parent4e079b130f09d1497cbc173faaa47e6fcda0f1c0
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