diff options
| author | Jeff Garzik <jgarzik@pobox.com> | 2006-02-09 00:58:59 -0500 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2006-02-09 00:58:59 -0500 |
| commit | cac0e8e8bb2e7a086643bdd00c41d900a79bb4fa (patch) | |
| tree | 73cd85e5529a01fa2338ab6d58b99c36dd666cbe /fs/configfs/symlink.c | |
| parent | ddef9bb367b19383df627e388cb4c01c86ddba6c (diff) | |
| parent | 0bdd340c092b0936f78a54bdbd3927463ed4fca3 (diff) | |
Merge branch 'master'
Diffstat (limited to 'fs/configfs/symlink.c')
| -rw-r--r-- | fs/configfs/symlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/configfs/symlink.c b/fs/configfs/symlink.c index 50f5840521a9..e5512e295cf2 100644 --- a/fs/configfs/symlink.c +++ b/fs/configfs/symlink.c | |||
| @@ -162,8 +162,7 @@ int configfs_unlink(struct inode *dir, struct dentry *dentry) | |||
| 162 | if (!(sd->s_type & CONFIGFS_ITEM_LINK)) | 162 | if (!(sd->s_type & CONFIGFS_ITEM_LINK)) |
| 163 | goto out; | 163 | goto out; |
| 164 | 164 | ||
| 165 | if (dentry->d_parent == configfs_sb->s_root) | 165 | BUG_ON(dentry->d_parent == configfs_sb->s_root); |
| 166 | BUG(); | ||
| 167 | 166 | ||
| 168 | sl = sd->s_element; | 167 | sl = sd->s_element; |
| 169 | 168 | ||
| @@ -277,5 +276,6 @@ struct inode_operations configfs_symlink_inode_operations = { | |||
| 277 | .follow_link = configfs_follow_link, | 276 | .follow_link = configfs_follow_link, |
| 278 | .readlink = generic_readlink, | 277 | .readlink = generic_readlink, |
| 279 | .put_link = configfs_put_link, | 278 | .put_link = configfs_put_link, |
| 279 | .setattr = configfs_setattr, | ||
| 280 | }; | 280 | }; |
| 281 | 281 | ||
