]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Save struct inode * inside nfs_commit_info to clarify usage of i_lock
authorDave Wysochanski <dwysocha@redhat.com>
Fri, 1 Apr 2016 17:45:09 +0000 (13:45 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 9 May 2016 13:05:40 +0000 (09:05 -0400)
commitc88438847e3538f78042a17e324c21dbb0a2681d
tree88b50933a24b69ccae24bb52f2f9bfb6b1dce2e7
parent1bfed48cd03b6ae9934578073907680910e17618
NFS: Save struct inode * inside nfs_commit_info to clarify usage of i_lock

Commit ca1bd1c created nfs_commit_info and saved &inode->i_lock inside
this NFS specific structure.  This obscures the usage of i_lock.
Instead, save struct inode * so later it's clear the spinlock taken is
i_lock.

Should be no functional change.

Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/direct.c
fs/nfs/filelayout/filelayout.c
fs/nfs/flexfilelayout/flexfilelayout.c
fs/nfs/pnfs_nfs.c
fs/nfs/write.c
include/linux/nfs_xdr.h