Commit 3d8e560
Jeff Layton
locks: consolidate NULL i_flctx checks in locks_remove_file
We have each of the locks_remove_* variants doing this individually.
Have the caller do it instead, and have locks_remove_flock and
locks_remove_lease just assume that it's a valid pointer.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>1 parent 9bd0f45 commit 3d8e560
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2400 | 2400 | | |
2401 | 2401 | | |
2402 | 2402 | | |
| 2403 | + | |
2403 | 2404 | | |
2404 | 2405 | | |
2405 | 2406 | | |
| |||
2413 | 2414 | | |
2414 | 2415 | | |
2415 | 2416 | | |
2416 | | - | |
| 2417 | + | |
2417 | 2418 | | |
2418 | 2419 | | |
2419 | 2420 | | |
| |||
2425 | 2426 | | |
2426 | 2427 | | |
2427 | 2428 | | |
| 2429 | + | |
2428 | 2430 | | |
2429 | 2431 | | |
2430 | 2432 | | |
| |||
2433 | 2435 | | |
2434 | 2436 | | |
2435 | 2437 | | |
2436 | | - | |
| 2438 | + | |
2437 | 2439 | | |
2438 | 2440 | | |
2439 | 2441 | | |
| |||
2448 | 2450 | | |
2449 | 2451 | | |
2450 | 2452 | | |
| 2453 | + | |
| 2454 | + | |
| 2455 | + | |
2451 | 2456 | | |
2452 | 2457 | | |
2453 | 2458 | | |
| |||
0 commit comments