diff mbox

Fix memory corruption due to not expected FS_LOCATIONS v3

Message ID 1300728864.6113.13.camel@vT510 (mailing list archive)
State Changes Requested, archived
Delegated to: Trond Myklebust
Headers show

Commit Message

Vitaliy Gusev March 21, 2011, 5:34 p.m. UTC
None
diff mbox

Patch

diff --git a/fs/nfs/nfs4xdr.c b/fs/nfs/nfs4xdr.c
index c87e543..6fea9c9 100644
--- a/fs/nfs/nfs4xdr.c
+++ b/fs/nfs/nfs4xdr.c
@@ -3451,7 +3451,8 @@  out_overflow:
 	return -EIO;
 }
 
-static int decode_attr_fs_locations(struct xdr_stream *xdr, uint32_t
*bitmap, struct nfs4_fs_locations *res)
+static int decode_attr_fs_locations(struct xdr_stream *xdr, uint32_t
*bitmap, struct nfs4_fs_locations *res,
+				    uint32_t *deny_bitmap)
 {