author: Subrata Modak <subrata@linux.vnet.ibm.com> 2009-04-19 01:10:03 +0530
committer: Joel Becker <joel.becker@oracle.com> 2009-04-21 12:59:21 -0700
commit: 3c48f23adada870db612a0dd3488605c4af5c0a5
parent: a939b96cccdb65df80a52447ec8e4a6d79c56dbb
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/fs/configfs/symlink.c b/fs/configfs/symlink.c
index 932a92b31483..c8afa6b1d91d 100644
--- a/fs/configfs/symlink.c
+++ b/fs/configfs/symlink.c
@@ -135,7 +135,7 @@ int configfs_symlink(struct inode *dir, struct dentry *dentry, const char *symna
struct path path;
struct configfs_dirent *sd;
struct config_item *parent_item;
- struct config_item *target_item;
+ struct config_item *target_item = NULL;
struct config_item_type *type;
ret = -EPERM; /* What lack-of-symlink returns */