]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/nfsd/nfs4state.c
nfsd: only set file_lock.fl_lmops in nfsd4_lockt if a stateowner is found
[linux-2.6-omap-h63xx.git] / fs / nfsd / nfs4state.c
index 88db7d3ec120dea33140e757a5ee30601baf220e..b6f60f48e94b4038473faf04b766ce706e60a9d4 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);