pnfs: cleanup_layoutcommit
This gives layout driver a chance to cleanup structures they put in at encode_layoutcommit. Signed-off-by: Andy Adamson <andros@netapp.com> [fixup layout header pointer for layoutcommit] Signed-off-by: Benny Halevy <bhalevy@panasas.com> Signed-off-by: Benny Halevy <bhalevy@tonian.com> [rm inode and pnfs_layout_hdr args from cleanup_layoutcommit()] Signed-off-by: Jim Rees <rees@umich.edu> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
This commit is contained in:
parent
dae100c2b1
commit
db29c08909
5 changed files with 14 additions and 0 deletions
|
@ -5599,6 +5599,7 @@ static int decode_layoutcommit(struct xdr_stream *xdr,
|
|||
int status;
|
||||
|
||||
status = decode_op_hdr(xdr, OP_LAYOUTCOMMIT);
|
||||
res->status = status;
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue