Whamcloud - gitweb
b=16605 verify object group before using it
authorAndreas Dilger <andreas.dilger@oracle.com>
Wed, 15 Dec 2010 06:44:39 +0000 (23:44 -0700)
committerVitaly Fertman <vitaly.fertman@oracle.com>
Fri, 17 Dec 2010 01:20:57 +0000 (04:20 +0300)
commit19e0548337d604afd97297e4ad195ff26b3ea681
treedd2ad38fd800fb6d691ee04d945c23b82fde5121
parentea39d7b925eef25a157cb339e8a587823313d6d2
b=16605 verify object group before using it

Avoid trying to access an invalid/unknown group sent from the client.
Don't return -EINVAL, since it is possible that the problem is the OST
code is old and this object actually exists.  Instead, return -EBADF
so that we can more easily diagnose this problem.
lustre/obdfilter/filter.c