Skip to content
Commit 348acd48 authored by Adrian Bunk's avatar Adrian Bunk Committed by Steven Whitehouse
Browse files

[GFS2] fs/gfs2/dir.c:gfs2_dir_write_data(): don't use an uninitialized variable



In the "if (extlen)" case, "new" might be used uninitialized.

Looking at the code, it should be initialized to 0.

Spotted by the Coverity checker.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
parent b0cb6695
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment