smbd: Remove a redundant check
authorVolker Lendecke <vl@samba.org>
Wed, 7 Feb 2018 10:14:31 +0000 (11:14 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 12 Feb 2018 23:26:43 +0000 (00:26 +0100)
commit5fdc62b2369b8463940629dc47c2768f0bcfc29d
tree3ef69e8c5dcd3bec67172d3f5cb93b4c8f58bf0d
parentbab8bf7acb71bc54c258c29e7392927afb8b0709
smbd: Remove a redundant check

The file ids in all share modes match the share_mode_data's one

We don't have a paranoia check for this, but the share mode is per inode.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/locking.c