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)
commitfe238e601d2519f259103ab65caea3b077ed7b39
tree88b50933a24b69ccae24bb52f2f9bfb6b1dce2e7
parented3743a6d4f309f5278c87a69e3125382b78455c
NFS: Save struct inode * inside nfs_commit_info to clarify usage of i_lock

Commit ea2cf22 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