Commit fc0f684
NFS: Remove BKL from NFS lookup code
All dentry-related operations are already BKL-safe, since they are
protected by the VFS locking. No extra locks should be needed in the NFS
code.
In the case of nfs_revalidate_inode(), we're only doing an attribute
update (protected by the inode->i_lock).
In the case of nfs_lookup(), we're instantiating a new dentry, so there
should be no contention possible until after we call d_materialise_unique.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>1 parent fc81af5 commit fc0f684
1 file changed
+1
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
780 | | - | |
781 | 780 | | |
782 | 781 | | |
783 | 782 | | |
| |||
815 | 814 | | |
816 | 815 | | |
817 | 816 | | |
818 | | - | |
819 | 817 | | |
820 | 818 | | |
821 | 819 | | |
| |||
834 | 832 | | |
835 | 833 | | |
836 | 834 | | |
837 | | - | |
838 | 835 | | |
839 | 836 | | |
840 | 837 | | |
| |||
921 | 918 | | |
922 | 919 | | |
923 | 920 | | |
924 | | - | |
925 | | - | |
926 | 921 | | |
927 | 922 | | |
928 | 923 | | |
929 | 924 | | |
930 | 925 | | |
931 | 926 | | |
932 | 927 | | |
933 | | - | |
| 928 | + | |
934 | 929 | | |
935 | 930 | | |
936 | 931 | | |
| |||
958 | 953 | | |
959 | 954 | | |
960 | 955 | | |
961 | | - | |
962 | | - | |
963 | 956 | | |
964 | 957 | | |
965 | 958 | | |
| |||
0 commit comments