|
1 | 1 | /*
|
2 |
| - * Copyright (c) 2009 - 2024 Deutsches Elektronen-Synchroton, |
| 2 | + * Copyright (c) 2009 - 2025 Deutsches Elektronen-Synchroton, |
3 | 3 | * Member of the Helmholtz Association, (DESY), HAMBURG, GERMANY
|
4 | 4 | *
|
5 | 5 | * This library is free software; you can redistribute it and/or modify
|
@@ -233,14 +233,15 @@ public void cbDelegationRecall(nfs_fh4 fh, stateid4 stateid, boolean truncate) t
|
233 | 233 | *
|
234 | 234 | * @param fh file handle of the file
|
235 | 235 | * @param stateid stateid of the layout
|
| 236 | + * @param layouttype type of layout to recall |
236 | 237 | * @throws OncRpcException if an RPC error occurs
|
237 | 238 | * @throws IOException if an I/O error occurs
|
238 | 239 | */
|
239 |
| - public void cbLayoutRecallFile(nfs_fh4 fh, stateid4 stateid) throws OncRpcException, IOException { |
| 240 | + public void cbLayoutRecallFile(nfs_fh4 fh, stateid4 stateid, layouttype4 layouttype) throws OncRpcException, IOException { |
240 | 241 |
|
241 | 242 | CB_LAYOUTRECALL4args cbLayoutrecall = new CB_LAYOUTRECALL4args();
|
242 | 243 | cbLayoutrecall.clora_changed = true;
|
243 |
| - cbLayoutrecall.clora_type = layouttype4.LAYOUT4_NFSV4_1_FILES.getValue(); |
| 244 | + cbLayoutrecall.clora_type = layouttype.getValue(); |
244 | 245 | cbLayoutrecall.clora_iomode = layoutiomode4.LAYOUTIOMODE4_ANY;
|
245 | 246 | cbLayoutrecall.clora_recall = new layoutrecall4();
|
246 | 247 | cbLayoutrecall.clora_recall.lor_recalltype = layoutrecall_type4.LAYOUTRECALL4_FILE;
|
|
0 commit comments