Commit 960bad8
committed
nfs4: set filesize on open if specified
Motivation:
In some cases, on create, clients might specify file's initial size.
Currently we support only zero size, which lets some synthetic test to
fail.
Modification:
Update OperationOPEN to set file size on create if specified.
Result:
Better spec compliance.
NOTE: as POSIX doesn't provide such functionality to applications, this
functionality use by special clients only.
Acked-by: Karen Hoyos
Target: master1 parent ad8f569 commit 960bad8
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
172 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
173 | 178 | | |
174 | 179 | | |
175 | 180 | | |
| |||
0 commit comments