aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2017-12-15 02:24:08 +0000
committerAnna Schumaker <[email protected]>2017-12-15 19:31:56 +0000
commit90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0 (patch)
treeb849c5a611ba70582e6e5612b25c6c00c612efaf /fs/jbd2/commit.c
parentnfs: don't wait on commit in nfs_commit_inode() if there were no commit requests (diff)
downloadkernel-90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0.tar.gz
kernel-90d91b0cd371193d9dbfa9beacab8ab9a4cb75e0.zip
SUNRPC: Fix a race in the receive code path
We must ensure that the call to rpc_sleep_on() in xprt_transmit() cannot race with the call to xprt_complete_rqst(). Reported-by: Chuck Lever <[email protected]> Link: https://bugzilla.linux-nfs.org/show_bug.cgi?id=317 Fixes: ce7c252a8c74 ("SUNRPC: Add a separate spinlock to protect..") Cc: [email protected] # 4.14+ Reviewed-by: Chuck Lever <[email protected]> Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions