Merge branch 'for-4.1' of git://linux-nfs.org/~bfields/linux
Pull nfsd updates from Bruce Fields: "A quiet cycle this time; this is basically entirely bugfixes. The few that aren't cc'd to stable are cleanup or seemed unlikely to affect anyone much" * 'for-4.1' of git://linux-nfs.org/~bfields/linux: uapi: Remove kernel internal declaration nfsd: fix nsfd startup race triggering BUG_ON nfsd: eliminate NFSD_DEBUG nfsd4: fix READ permission checking nfsd4: disallow SEEK with special stateids nfsd4: disallow ALLOCATE with special stateids nfsd: add NFSEXP_PNFS to the exflags array nfsd: Remove duplicate macro define for max sec label length nfsd: allow setting acls with unenforceable DENYs nfsd: NFSD_FAULT_INJECTION depends on DEBUG_FS nfsd: remove unused status arg to nfsd4_cleanup_open_state nfsd: remove bogus setting of status in nfsd4_process_open2 NFSD: Use correct reply size calculating function NFSD: Using path_equal() for checking two paths
This commit is contained in:
@@ -1139,7 +1139,7 @@ hash_sessionid(struct nfs4_sessionid *sessionid)
|
||||
return sid->sequence % SESSION_HASH_SIZE;
|
||||
}
|
||||
|
||||
#ifdef NFSD_DEBUG
|
||||
#ifdef CONFIG_SUNRPC_DEBUG
|
||||
static inline void
|
||||
dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid)
|
||||
{
|
||||
@@ -4049,7 +4049,6 @@ nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nf
|
||||
status = nfserr_bad_stateid;
|
||||
if (nfsd4_is_deleg_cur(open))
|
||||
goto out;
|
||||
status = nfserr_jukebox;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -4118,7 +4117,7 @@ out:
|
||||
}
|
||||
|
||||
void nfsd4_cleanup_open_state(struct nfsd4_compound_state *cstate,
|
||||
struct nfsd4_open *open, __be32 status)
|
||||
struct nfsd4_open *open)
|
||||
{
|
||||
if (open->op_openowner) {
|
||||
struct nfs4_stateowner *so = &open->op_openowner->oo_owner;
|
||||
|
Reference in New Issue
Block a user