Commit 9993979
nfsd: Clean up nfsd_file_put()
Make it a little less racy, by removing the refcount_read() test. Then
remove the redundant 'is_hashed' variable.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>1 parent 6b8a943 commit 9993979
1 file changed
Lines changed: 3 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
305 | | - | |
306 | 304 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
| 305 | + | |
314 | 306 | | |
315 | 307 | | |
316 | 308 | | |
317 | 309 | | |
318 | | - | |
| 310 | + | |
| 311 | + | |
319 | 312 | | |
320 | 313 | | |
321 | 314 | | |
| |||
0 commit comments