diff options
author | Trond Myklebust <[email protected]> | 2018-08-14 17:25:37 -0400 |
---|---|---|
committer | Anna Schumaker <[email protected]> | 2018-08-15 11:43:38 -0400 |
commit | d0fbb1d8a194c0ec0180c1d073ad709e45503a43 (patch) | |
tree | 8c22f2a2e8d4d1a406801969eccdc7bbc97c7e01 /fs/xfs/xfs_error.c | |
parent | 62421cd943014a84b095cefb31d2261c51eb3d4b (diff) |
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 <[email protected]>
Fixes: e824f99adaaf1 ("NFSv4: Use a mutex to protect the per-inode commit...")
Cc: [email protected] # v4.14+
Signed-off-by: Trond Myklebust <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'fs/xfs/xfs_error.c')
0 files changed, 0 insertions, 0 deletions