|
@@ -702,7 +702,7 @@ EXPORT_SYMBOL_GPL(nfs_getattr);
|
|
|
static void nfs_init_lock_context(struct nfs_lock_context *l_ctx)
|
|
|
{
|
|
|
atomic_set(&l_ctx->count, 1);
|
|
|
- l_ctx->lockowner.l_owner = current->files;
|
|
|
+ l_ctx->lockowner = current->files;
|
|
|
INIT_LIST_HEAD(&l_ctx->list);
|
|
|
atomic_set(&l_ctx->io_count, 0);
|
|
|
}
|
|
@@ -713,7 +713,7 @@ static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context
|
|
|
struct nfs_lock_context *pos = head;
|
|
|
|
|
|
do {
|
|
|
- if (pos->lockowner.l_owner != current->files)
|
|
|
+ if (pos->lockowner != current->files)
|
|
|
continue;
|
|
|
atomic_inc(&pos->count);
|
|
|
return pos;
|