Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit a663e305 authored by Mark Fasheh's avatar Mark Fasheh
Browse files

ocfs2: move nlink check in ocfs2_mknod()



The dir nlink check in ocfs2_mknod() was being done outside of the cluster
lock, which means we could have been checking against a stale version of the
inode. Fix this by doing the check after the cluster lock instead.

Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 471e3f57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment