configfs: Fix Trivial Warning in fs/configfs/symlink.c
authorSubrata Modak <subrata@linux.vnet.ibm.com>
Sat, 18 Apr 2009 19:40:03 +0000 (01:10 +0530)
committerJoel Becker <joel.becker@oracle.com>
Tue, 21 Apr 2009 19:59:21 +0000 (12:59 -0700)
commit3c48f23adada870db612a0dd3488605c4af5c0a5
tree9686ef8f8f02ef66b4de37043ff1b8487afc4dde
parenta939b96cccdb65df80a52447ec8e4a6d79c56dbb
configfs: Fix Trivial Warning in fs/configfs/symlink.c

I observed the following build warning with fs/configfs/symlink.c:

fs/configfs/symlink.c: In function 'configfs_symlink':
fs/configfs/symlink.c:138: warning: 'target_item' may be used uninitialized in this function

Here is a small fix for this.

Cc: Patrick Mochel <mochel@osdl.org>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Cc: Sachin P Sant <sachinp@linux.vnet.ibm.com>
Signed-Off-By: Subrata Modak <subrata@linux.vnet.ibm.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/configfs/symlink.c