mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
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:
parent
954d196beb
commit
f455ea21f2
|
|
@ -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 ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user