The file fs/ceph/snap.c contains four calls to ceph_lookup_snap_realm, all 
of which test the returned value first with IS_ERR and then by checking 
for a NULL pointer.  But the definition of ceph_lookup_snap_realm contains
a dereference of its argument if it is not NULL, which suggests that an 
ERR_PTR value is not what expected.  So something seems to be inconsistent 
here.

julia

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ceph-devel mailing list
Ceph-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ceph-devel

Reply via email to