X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Flockd%2Fsvcproc.c;h=3eca6cfdbdd65e36d57c0f3c0c3ec57069f50161;hb=c7b5ebbddf7bcd3651947760f423e3783bbe6573;hp=b676e8ccd8c8f4ac5e0f2ff6ef033131dc56afb2;hpb=a2c21200f1c81b08cb55e417b68150bba439b646;p=linux-2.6.git diff --git a/fs/lockd/svcproc.c b/fs/lockd/svcproc.c index b676e8ccd..3eca6cfdb 100644 --- a/fs/lockd/svcproc.c +++ b/fs/lockd/svcproc.c @@ -82,8 +82,9 @@ nlmsvc_retrieve_args(struct svc_rqst *rqstp, struct nlm_args *argp, *filp = file; /* Set up the missing parts of the file_lock structure */ - lock->fl.fl_file = &file->f_file; + lock->fl.fl_file = file->f_file; lock->fl.fl_owner = (fl_owner_t) host; + lock->fl.fl_lmops = &nlmsvc_lock_operations; } return 0;