• Mark Fasheh's avatar
    ocfs2: Remove bug statement in ocfs2_dentry_iput() · bccb9dad
    Mark Fasheh authored
    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>
dcache.c 11.4 KB