summaryrefslogtreecommitdiffstats
path: root/fs/nfs/callback_proc.c
diff options
context:
space:
mode:
authorTrond Myklebust2018-08-14 23:25:37 +0200
committerAnna Schumaker2018-08-15 17:43:38 +0200
commitd0fbb1d8a194c0ec0180c1d073ad709e45503a43 (patch)
tree8c22f2a2e8d4d1a406801969eccdc7bbc97c7e01 /fs/nfs/callback_proc.c
parentNFSv4: Fix a typo in nfs4_init_channel_attrs() (diff)
downloadkernel-qcow2-linux-d0fbb1d8a194c0ec0180c1d073ad709e45503a43.tar.gz
kernel-qcow2-linux-d0fbb1d8a194c0ec0180c1d073ad709e45503a43.tar.xz
kernel-qcow2-linux-d0fbb1d8a194c0ec0180c1d073ad709e45503a43.zip
NFSv4: Fix locking in pnfs_generic_recover_commit_reqs
The use of the inode->i_lock was converted to a mutex, but we forgot to remove the old inode unlock/lock() pair that allowed the layout segment to be put inside the loop. Reported-by: Jia-Ju Bai <baijiaju1990@gmail.com> Fixes: e824f99adaaf1 ("NFSv4: Use a mutex to protect the per-inode commit...") Cc: stable@vger.kernel.org # v4.14+ Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/callback_proc.c')
0 files changed, 0 insertions, 0 deletions