Commit b95239c
nfsd: make nfsd4_run_cb a bool return function
queue_work can return false and not queue anything, if the work is
already queued. If that happens in the case of a CB_RECALL, we'll have
taken an extra reference to the stid that will never be put. Ensure we
throw a warning in that case.
Signed-off-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>1 parent 25fbe1f commit b95239c
3 files changed
+15
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1371 | 1371 | | |
1372 | 1372 | | |
1373 | 1373 | | |
1374 | | - | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
| 1378 | + | |
| 1379 | + | |
| 1380 | + | |
| 1381 | + | |
1375 | 1382 | | |
1376 | 1383 | | |
| 1384 | + | |
1377 | 1385 | | |
1378 | 1386 | | |
1379 | | - | |
| 1387 | + | |
| 1388 | + | |
1380 | 1389 | | |
| 1390 | + | |
1381 | 1391 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4859 | 4859 | | |
4860 | 4860 | | |
4861 | 4861 | | |
4862 | | - | |
| 4862 | + | |
4863 | 4863 | | |
4864 | 4864 | | |
4865 | 4865 | | |
4866 | 4866 | | |
4867 | 4867 | | |
4868 | 4868 | | |
4869 | | - | |
4870 | 4869 | | |
4871 | 4870 | | |
4872 | 4871 | | |
| |||
4892 | 4891 | | |
4893 | 4892 | | |
4894 | 4893 | | |
4895 | | - | |
| 4894 | + | |
4896 | 4895 | | |
4897 | 4896 | | |
4898 | 4897 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
692 | 692 | | |
693 | 693 | | |
694 | 694 | | |
695 | | - | |
| 695 | + | |
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
| |||
0 commit comments