ksmbd: fix inconsistent indenting warnings

Detected by Smatch.

   fs/smb/server/oplock.c:1446 smb_grant_oplock()
   warn: inconsistent indenting

Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
This commit is contained in:
Namjae Jeon 2026-06-23 17:21:29 +09:00 committed by Steve French
parent 954d196beb
commit f455ea21f2

View File

@ -1443,12 +1443,12 @@ int smb_grant_oplock(struct ksmbd_work *work, int req_op_level, u64 pid,
if (m_opinfo) {
lease_put(opinfo->o_lease);
lease_get(m_opinfo->o_lease);
opinfo->o_lease = m_opinfo->o_lease;
opinfo->level = m_opinfo->level;
new_lease = false;
opinfo_put(m_opinfo);
goto out;
}
opinfo->o_lease = m_opinfo->o_lease;
opinfo->level = m_opinfo->level;
new_lease = false;
opinfo_put(m_opinfo);
goto out;
}
}
prev_opinfo = opinfo_get_list(ci);
if (!prev_opinfo ||