fs/freevxfs/vxfs_lookup: Fix compile warning
PATCH 1/1 fs/freevxfs/vxfs_lookup: Fix compile warning
On linux-next 20091030 I got this compile warning:
fs/freevxfs/vxfs_lookup.c: In function ‘vxfs_lookup’:fs/freevxfs/vxfs_lookup.c:177: warning: ‘pp’ may be used uninitialized in this function fs/freevxfs/vxfs_lookup.c:177: note: ‘pp’ was declared here
This patch solves the issue.
Signed-off-by Javier Martinez Canillas <[email protected]>
--- fs/freevxfs/vxfs_lookup.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/freevxfs/vxfs_lookup.c +1 -1
@@ -174,7 +174,7 @@ static ino_t vxfs_inode_by_name(struct inode *dip, struct dentry *dp) { struct vxfs_direct *de; -struct page *pp; +struct page *pp =NULL ;ino_t ino =0 ; de =vxfs_find_entry (dip, dp, &pp);
Signature · 1 line
1.6.0.4