Commit 4b47a86
committed
NFSD: Define a proc_layoutcommit for the FlexFiles layout type
Avoid a crash if a pNFS client should happen to send a LAYOUTCOMMIT
operation on a FlexFiles layout.
Reported-by: Robert Morris <[email protected]>
Closes: https://lore.kernel.org/linux-nfs/[email protected]/T/#t
Cc: Thomas Haynes <[email protected]>
Cc: [email protected]
Fixes: 9b9960a ("nfsd: Add a super simple flex file server")
Signed-off-by: Chuck Lever <[email protected]>1 parent 73cc6ec commit 4b47a86
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
128 | 135 | | |
129 | 136 | | |
130 | 137 | | |
| |||
133 | 140 | | |
134 | 141 | | |
135 | 142 | | |
| 143 | + | |
136 | 144 | | |
0 commit comments