git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] VFS: Permit filesystem to override root dentry on mount
[safe/jmp/linux-2.6]
/
fs
/
configfs
/
symlink.c
diff --git
a/fs/configfs/symlink.c
b/fs/configfs/symlink.c
index
9913702
..
e5512e2
100644
(file)
--- a/
fs/configfs/symlink.c
+++ b/
fs/configfs/symlink.c
@@
-162,8
+162,7
@@
int configfs_unlink(struct inode *dir, struct dentry *dentry)
if (!(sd->s_type & CONFIGFS_ITEM_LINK))
goto out;
- if (dentry->d_parent == configfs_sb->s_root)
- BUG();
+ BUG_ON(dentry->d_parent == configfs_sb->s_root);
sl = sd->s_element;