dir: verified pathnames fallout
authorMarc Dionne <marc.c.dionne@gmail.com>
Sun, 21 Aug 2011 16:02:29 +0000 (12:02 -0400)
committerDerrick Brashear <shadow@dementix.org>
Tue, 23 Aug 2011 16:38:35 +0000 (09:38 -0700)
commit0fb2e3a6dbfdf91bcf1591e454a00171792b7a38
treec1a4e2194dc324bb1455bb71cfd0b5d3d10ccbc4
parent9581821a4599e1ba871360dcf8503e13eb6516b6
dir: verified pathnames fallout

Fix some issues introduced with the verified directory path names
commit in master:
- In GetVerifiedBlob, the output parameter is set to NULL on entry
and dereferenced later on.
- For Linux, the code in afs_linux_readdir was changed to pass a
DirEntry to GetVerifiedBlob.  This is incorrect, the function still
expects a DirBuffer pointer.
- In afs_dir_IsEmpty, the assignment of ep was removed, leaving
the function to dereference this pointer which was never set.

Change-Id: I9045076ebe636cf68c19487c0d58baebf2de7dd1
Reviewed-on: http://gerrit.openafs.org/5292
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/afs/LINUX/osi_vnodeops.c
src/dir/dir.c