NFS: don't expect errors from mempool_alloc().
authorNeilBrown <neilb@suse.com>
Fri, 18 Aug 2017 07:12:51 +0000 (17:12 +1000)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 6 Sep 2017 16:31:15 +0000 (12:31 -0400)
commit237f8306c30206d997e265ff46652e602a50824f
treeed84a06c04bdbff5c6d033c70c89da012298c95c
parent9590d083c1bb1419b7992609d1a0a3e3517d3893
NFS: don't expect errors from mempool_alloc().

Commit fbe77c30e9ab ("NFS: move rw_mode to nfs_pageio_header")
reintroduced some pointless code that commit 518662e0fcb9 ("NFS: fix
usage of mempools.") had recently removed.

Remove it again.

Cc: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/write.c