Loading fs/nfsd/nfs4state.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -3934,6 +3934,7 @@ static int nfs4_setlease(struct nfs4_delegation *dp) if (!filp) { if (!filp) { /* We should always have a readable file here */ /* We should always have a readable file here */ WARN_ON_ONCE(1); WARN_ON_ONCE(1); locks_free_lock(fl); return -EBADF; return -EBADF; } } fl->fl_file = filp; fl->fl_file = filp; Loading Loading
fs/nfsd/nfs4state.c +1 −0 Original line number Original line Diff line number Diff line Loading @@ -3934,6 +3934,7 @@ static int nfs4_setlease(struct nfs4_delegation *dp) if (!filp) { if (!filp) { /* We should always have a readable file here */ /* We should always have a readable file here */ WARN_ON_ONCE(1); WARN_ON_ONCE(1); locks_free_lock(fl); return -EBADF; return -EBADF; } } fl->fl_file = filp; fl->fl_file = filp; Loading