diff options
author | NeilBrown <neilb@suse.com> | 2016-10-13 15:26:47 +1100 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2016-12-01 17:58:13 -0500 |
commit | d51fdb87a611f8ef50518df7187173ae10469fd0 (patch) | |
tree | 5c7b1f573e024cdc906641ede0f7d035bed2c016 /fs/nfs/write.c | |
parent | 8d42443166a5d3800756db98498a4961a5ea5de7 (diff) | |
download | linux-d51fdb87a611f8ef50518df7187173ae10469fd0.tar.gz linux-d51fdb87a611f8ef50518df7187173ae10469fd0.tar.bz2 linux-d51fdb87a611f8ef50518df7187173ae10469fd0.zip |
NFS: discard nfs_lockowner structure.
It now has only one field and is only used in one structure.
So replaced it in that structure by the field it contains.
Signed-off-by: NeilBrown <neilb@suse.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/write.c')
-rw-r--r-- | fs/nfs/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/write.c b/fs/nfs/write.c index 4d5897e6d6cb..6e761f3f4cbf 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -1151,7 +1151,7 @@ int nfs_flush_incompatible(struct file *file, struct page *page) if (l_ctx && flctx && !(list_empty_careful(&flctx->flc_posix) && list_empty_careful(&flctx->flc_flock))) { - do_flush |= l_ctx->lockowner.l_owner != current->files; + do_flush |= l_ctx->lockowner != current->files; } nfs_release_request(req); if (!do_flush) |