aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/tux3/dir.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/tux3/dir.c b/fs/tux3/dir.c
index 93485ba1f0126c..a499eaea4e9396 100644
--- a/fs/tux3/dir.c
+++ b/fs/tux3/dir.c
@@ -127,7 +127,8 @@ loff_t tux_create_entry(struct inode *dir, const char *name, unsigned len,
struct sb *sb = tux_sb(dir->i_sb);
tux_dirent *entry;
struct buffer_head *buffer, *clone;
- unsigned reclen = TUX_REC_LEN(len), rec_len, name_len, offset;
+ unsigned reclen = TUX_REC_LEN(len), rec_len, offset;
+ unsigned uninitialized_var(name_len);
unsigned blocksize = sb->blocksize;
block_t block, blocks = *size >> sb->blockbits;
void *olddata;