Repository navigation
Commit 5c7ef8a
NFSv4: Fix an Oops in pnfs_mark_request_commit() when doing O_DIRECT
[ Upstream commit 3731d44 ]
Fix an Oopsable condition in pnfs_mark_request_commit() when we're
putting a set of writes on the commit list to reschedule them after a
failed pNFS attempt.
Fixes: 9c455a8 ("NFS/pNFS: Clean up pNFS commit operations")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent ff4023d commit 5c7ef8a
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
703 | | - | |
704 | 703 | | |
| 704 | + | |
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | | - | |
717 | | - | |
| 716 | + | |
718 | 717 | | |
719 | | - | |
720 | | - | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
| 718 | + | |
725 | 719 | | |
726 | 720 | | |
727 | 721 | | |
728 | 722 | | |
729 | 723 | | |
730 | 724 | | |
731 | 725 | | |
732 | | - | |
| 726 | + | |
733 | 727 | | |
734 | 728 | | |
735 | 729 | | |
736 | 730 | | |
737 | 731 | | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
738 | 735 | | |
739 | 736 | | |
740 | 737 | | |
| |||
0 commit comments