Commit 83f2c45
NFS: Remove unnecessary inode locking in nfs_llseek_dir()
Remove the contentious inode lock, and instead provide thread safety
using the file->f_lock spinlock.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>1 parent 6c2190b commit 83f2c45
1 file changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
955 | 955 | | |
956 | 956 | | |
957 | 957 | | |
958 | | - | |
959 | 958 | | |
960 | 959 | | |
961 | 960 | | |
| |||
967 | 966 | | |
968 | 967 | | |
969 | 968 | | |
970 | | - | |
| 969 | + | |
971 | 970 | | |
972 | 971 | | |
973 | 972 | | |
974 | 973 | | |
975 | | - | |
| 974 | + | |
976 | 975 | | |
977 | 976 | | |
978 | | - | |
| 977 | + | |
979 | 978 | | |
980 | 979 | | |
981 | 980 | | |
| |||
987 | 986 | | |
988 | 987 | | |
989 | 988 | | |
990 | | - | |
| 989 | + | |
991 | 990 | | |
992 | 991 | | |
993 | 992 | | |
| |||
0 commit comments