]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Remove unnecessary inode lock in nfs_fsync_dir()
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 30 Oct 2020 21:57:30 +0000 (17:57 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 12 Nov 2020 15:41:26 +0000 (10:41 -0500)
commit8f8daa281761212c44eafacac6c3ff53f301f713
treef3e884cae61ce7c31d863b8027987905eab73b7d
parent17bf5ac143d68b69b5d98406672d8d8b3dabcd9c
NFS: Remove unnecessary inode lock in nfs_fsync_dir()

nfs_inc_stats() is already thread-safe, and there are no other reasons
to hold the inode lock here.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/dir.c