aboutsummaryrefslogtreecommitdiffstats
path: root/fs/configfs/symlink.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-05-02 16:50:46 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-05-02 16:50:46 -0700
commitafc1e702e8e8355faa712d4e90d9afe26a4995a5 (patch)
tree0e4dba6894652f715207f55737308cb21da3ac57 /fs/configfs/symlink.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 (diff)
parentconfigfs: Fix Trivial Warning in fs/configfs/symlink.c (diff)
downloadlinux-dev-afc1e702e8e8355faa712d4e90d9afe26a4995a5.tar.xz
linux-dev-afc1e702e8e8355faa712d4e90d9afe26a4995a5.zip
Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/configfs
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/configfs: configfs: Fix Trivial Warning in fs/configfs/symlink.c
Diffstat (limited to 'fs/configfs/symlink.c')
-rw-r--r--fs/configfs/symlink.c2
1 files changed, 1 insertions, 1 deletions
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 */