NFSv4: Fix up decode_attr_filehandle() to handle the case of empty fh pointer
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Oct 2010 19:34:20 +0000 (15:34 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Oct 2010 19:34:20 +0000 (15:34 -0400)
commit7ad07353003d6ff69fe0b987813bb77b4d5ac23d
tree580d0284b6946454d9136b3568e69eb3524be8ed
parent4a201d6e3f4253f918555cc7c27c418f8ac1bb65
NFSv4: Fix up decode_attr_filehandle() to handle the case of empty fh pointer

decode_attr_filehandle still needs to skip the XDR-encoded filehandle if
someone passes a null pointer argument.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4xdr.c