mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
Merge branch 'nfs-for-3.1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs
* 'nfs-for-3.1' of git://git.linux-nfs.org/projects/trondmy/linux-nfs: (44 commits) NFSv4: Don't use the delegation->inode in nfs_mark_return_delegation() nfs: don't use d_move in nfs_async_rename_done RDMA: Increasing RPCRDMA_MAX_DATA_SEGS SUNRPC: Replace xprt->resend and xprt->sending with a priority queue SUNRPC: Allow caller of rpc_sleep_on() to select priority levels SUNRPC: Support dynamic slot allocation for TCP connections SUNRPC: Clean up the slot table allocation SUNRPC: Initalise the struct xprt upon allocation SUNRPC: Ensure that we grab the XPRT_LOCK before calling xprt_alloc_slot pnfs: simplify pnfs files module autoloading nfs: document nfsv4 sillyrename issues NFS: Convert nfs4_set_ds_client to EXPORT_SYMBOL_GPL SUNRPC: Convert the backchannel exports to EXPORT_SYMBOL_GPL SUNRPC: sunrpc should not explicitly depend on NFS config options NFS: Clean up - simplify the switch to read/write-through-MDS NFS: Move the pnfs write code into pnfs.c NFS: Move the pnfs read code into pnfs.c NFS: Allow the nfs_pageio_descriptor to signal that a re-coalesce is needed NFS: Use the nfs_pageio_descriptor->pg_bsize in the read/write request NFS: Cache rpc_ops in struct nfs_pageio_descriptor ...
This commit is contained in:
commit
28890d3598
44 changed files with 1856 additions and 632 deletions
|
|
@ -302,7 +302,8 @@ nlmclnt_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc)
|
|||
/* We appear to be out of the grace period */
|
||||
wake_up_all(&host->h_gracewait);
|
||||
}
|
||||
dprintk("lockd: server returns status %d\n", resp->status);
|
||||
dprintk("lockd: server returns status %d\n",
|
||||
ntohl(resp->status));
|
||||
return 0; /* Okay, call complete */
|
||||
}
|
||||
|
||||
|
|
@ -690,7 +691,8 @@ nlmclnt_unlock(struct nlm_rqst *req, struct file_lock *fl)
|
|||
goto out;
|
||||
|
||||
if (resp->status != nlm_lck_denied_nolocks)
|
||||
printk("lockd: unexpected unlock status: %d\n", resp->status);
|
||||
printk("lockd: unexpected unlock status: %d\n",
|
||||
ntohl(resp->status));
|
||||
/* What to do now? I'm out of my depth... */
|
||||
status = -ENOLCK;
|
||||
out:
|
||||
|
|
@ -843,6 +845,7 @@ nlm_stat_to_errno(__be32 status)
|
|||
return -ENOLCK;
|
||||
#endif
|
||||
}
|
||||
printk(KERN_NOTICE "lockd: unexpected server status %d\n", status);
|
||||
printk(KERN_NOTICE "lockd: unexpected server status %d\n",
|
||||
ntohl(status));
|
||||
return -ENOLCK;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue