mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
ubifs: Fix compiler warning
The compiler warns that 'saved_nlink' declared in line 980 may be used uninitialized. Change-Id: Ie725c0efe949213b1281a70c779a3167b1961327 Acked-by: Kaushik Sikdar <ksikdar@qualcomm.com> Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
This commit is contained in:
parent
2dc17262b5
commit
adc2fa8f07
1 changed files with 1 additions and 1 deletions
|
@ -977,7 +977,7 @@ static int ubifs_rename(struct inode *old_dir, struct dentry *old_dentry,
|
|||
struct ubifs_budget_req ino_req = { .dirtied_ino = 1,
|
||||
.dirtied_ino_d = ALIGN(old_inode_ui->data_len, 8) };
|
||||
struct timespec time;
|
||||
unsigned int saved_nlink;
|
||||
unsigned int saved_nlink = 0;
|
||||
|
||||
/*
|
||||
* Budget request settings: deletion direntry, new direntry, removing
|
||||
|
|
Loading…
Reference in a new issue