Merge commit 'v2.6.34-rc6'
Conflicts: fs/nfsd/nfs4callback.c
Šī revīzija ir iekļauta:
@@ -40,6 +40,7 @@
|
||||
* at the end of nfs4svc_decode_compoundargs.
|
||||
*/
|
||||
|
||||
#include <linux/slab.h>
|
||||
#include <linux/namei.h>
|
||||
#include <linux/statfs.h>
|
||||
#include <linux/utsname.h>
|
||||
@@ -160,10 +161,10 @@ static __be32 *read_buf(struct nfsd4_compoundargs *argp, u32 nbytes)
|
||||
argp->p = page_address(argp->pagelist[0]);
|
||||
argp->pagelist++;
|
||||
if (argp->pagelen < PAGE_SIZE) {
|
||||
argp->end = p + (argp->pagelen>>2);
|
||||
argp->end = argp->p + (argp->pagelen>>2);
|
||||
argp->pagelen = 0;
|
||||
} else {
|
||||
argp->end = p + (PAGE_SIZE>>2);
|
||||
argp->end = argp->p + (PAGE_SIZE>>2);
|
||||
argp->pagelen -= PAGE_SIZE;
|
||||
}
|
||||
memcpy(((char*)p)+avail, argp->p, (nbytes - avail));
|
||||
@@ -1425,10 +1426,10 @@ nfsd4_decode_compound(struct nfsd4_compoundargs *argp)
|
||||
argp->p = page_address(argp->pagelist[0]);
|
||||
argp->pagelist++;
|
||||
if (argp->pagelen < PAGE_SIZE) {
|
||||
argp->end = p + (argp->pagelen>>2);
|
||||
argp->end = argp->p + (argp->pagelen>>2);
|
||||
argp->pagelen = 0;
|
||||
} else {
|
||||
argp->end = p + (PAGE_SIZE>>2);
|
||||
argp->end = argp->p + (PAGE_SIZE>>2);
|
||||
argp->pagelen -= PAGE_SIZE;
|
||||
}
|
||||
}
|
||||
@@ -1528,7 +1529,7 @@ static void write_cinfo(__be32 **p, struct nfsd4_change_info *c)
|
||||
} } while (0);
|
||||
|
||||
/* Encode as an array of strings the string given with components
|
||||
* seperated @sep.
|
||||
* separated @sep.
|
||||
*/
|
||||
static __be32 nfsd4_encode_components(char sep, char *components,
|
||||
__be32 **pp, int *buflen)
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user