]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/nfs/internal.h
Merge branch 'for-linus' of git://ceph.newdream.net/git/ceph-client
[karo-tx-linux.git] / fs / nfs / internal.h
index ab12913dd473bb1ef1ea27260699fbd4f7d76430..c1a1bd8ddf1cbecfbba4f375fec6c78d5d36ae60 100644 (file)
@@ -457,13 +457,3 @@ unsigned int nfs_page_array_len(unsigned int base, size_t len)
                PAGE_SIZE - 1) >> PAGE_SHIFT;
 }
 
-/*
- * Helper for restarting RPC calls in the possible presence of NFSv4.1
- * sessions.
- */
-static inline int nfs_restart_rpc(struct rpc_task *task, const struct nfs_client *clp)
-{
-       if (nfs4_has_session(clp))
-               return rpc_restart_call_prepare(task);
-       return rpc_restart_call(task);
-}