mirror of
https://github.com/versity/scoutfs.git
synced 2026-02-07 11:10:44 +00:00
invalidate_others could return uninit ret
Make sure to initialize ret in case there aren't other mounts. Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
@@ -144,7 +144,7 @@ static int invalidate_others(struct super_block *from, int mode,
|
||||
{
|
||||
DECLARE_LOCK_INFO(from, from_linf);
|
||||
struct lock_info *linf;
|
||||
int ret;
|
||||
int ret = 0;
|
||||
|
||||
down_read(&global_rwsem);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user