]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: Remove bug statement in ocfs2_dentry_iput()
authorMark Fasheh <mark.fasheh@oracle.com>
Thu, 8 Nov 2007 00:35:14 +0000 (16:35 -0800)
committerMark Fasheh <mark.fasheh@oracle.com>
Wed, 28 Nov 2007 00:47:02 +0000 (16:47 -0800)
commitfb35e966fb8778bf45498b4177470fb45d34f50d
tree93301cb788cdda02acf46f0222e09ed4be504207
parent4df30e0f58f5fb2f290a0c50d1fd135db28dc112
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: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dcache.c