This fixes a panic doing the first READDIR or READDIRPLUS call when:
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Jul 2006 17:17:12 +0000 (13:17 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Jul 2006 17:17:12 +0000 (13:17 -0400)
commitbce3481c91801665e17f8daf59ede946129f3d3f
treeb5f7e14f8ded7ecfeb5c31a47d5360651060f49d
parent83715ad54fad5a7ed330110f83e31ae92630e9d9
This fixes a panic doing the first READDIR or READDIRPLUS call when:

* the client is ia64 or any platform that actually implements
    flush_dcache_page(), and

  * the server returns fsinfo.dtpref >= client's PAGE_SIZE, and

  * the server does *not* return post-op attributes for the directory
    in the READDIR reply.

Problem diagnosed by Greg Banks <gnb@melbourne.sgi.com>

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
net/sunrpc/xdr.c