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

ocfs2: Remove bug statement in ocfs2_dentry_iput()



The existing bug statement didn't take into account unhashed dentries which
might not have a cluster lock on them. This could happen if a node exporting
the file system via NFS is rebooted, re-exported to nfs clients and then
unmounted. It's fine in this case to not have a dentry cluster lock.

Just remove the bug statement and replace it with an error print, which
does the proper checks. Though we want to know if something has happened
which might have prevented a cluster lock from being created, it's
definitely not necessary to panic the machine for this.

Signed-off-by: default avatarMark Fasheh <mark.fasheh@oracle.com>
parent 5a58c3ef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment