ext2: fix return of uninitialised variable

gcc correctly says

fs/ext2/super.c: In function 'ext2_remount':
fs/ext2/super.c:1055: warning: 'err' may be used uninitialized in this function

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by Andrew Morton and committed by Linus Torvalds ddc80bd7 5da44ad5

+1
+1
fs/ext2/super.c
··· 1043 1043 1044 1044 if ((ext2_use_xip(sb)) && (sb->s_blocksize != PAGE_SIZE)) { 1045 1045 printk("XIP: Unsupported blocksize\n"); 1046 + err = -EINVAL; 1046 1047 goto restore_opts; 1047 1048 } 1048 1049