diff options
| author | J. Bruce Fields <bfields@redhat.com> | 2014-03-22 15:15:11 -0400 |
|---|---|---|
| committer | J. Bruce Fields <bfields@redhat.com> | 2014-05-30 17:31:50 -0400 |
| commit | 4e21ac4b6f1d09c56f7d10916eaa738361214ab7 (patch) | |
| tree | b8ba2be1bc30afa15dd3257432004b045a8b5b82 /drivers/net/xen-netback/interface.c | |
| parent | d0a381dd0eda1cc769a5762d0eed4d0d662219f2 (diff) | |
nfsd4: reserve space before inlining 0-copy pages
Once we've included page-cache pages in the encoding it's difficult to
remove them and restart encoding. (xdr_truncate_encode doesn't handle
that case.) So, make sure we'll have adequate space to finish the
operation first.
For now COMPOUND_SLACK_SPACE checks should prevent this case happening,
but we want to remove those checks.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
