nfsd: only set file_lock.fl_lmops in nfsd4_lockt if a stateowner is found
[safe/jmp/linux-2.6] / fs / nfsd / nfs4state.c
index 88db7d3..b6f60f4 100644 (file)
@@ -2871,7 +2871,6 @@ nfsd4_lockt(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
                file_lock.fl_owner = (fl_owner_t)lockt->lt_stateowner;
        file_lock.fl_pid = current->tgid;
        file_lock.fl_flags = FL_POSIX;
-       file_lock.fl_lmops = &nfsd_posix_mng_ops;
 
        file_lock.fl_start = lockt->lt_offset;
        file_lock.fl_end = last_byte_offset(lockt->lt_offset, lockt->lt_length);