android_kernel_xiaomi_sm8350/fs/afs
Artem Bityutskiy dd0d9a46f5 AFS: Fix compilation warning
Fix the following warning:

  fs/afs/dir.c: In function 'afs_d_revalidate':
  fs/afs/dir.c:567: warning: 'fid.vnode' may be used uninitialized in this function
  fs/afs/dir.c:567: warning: 'fid.unique' may be used uninitialized in this function

by marking the 'fid' variable as an uninitialized_var.  The problem is
that gcc doesn't always manage to work out that fid is always set on the
path through the function that uses it.

Cc: linux-afs@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-07-12 12:24:07 -07:00
..
afs_cm.h
afs_fs.h
afs_vl.h
afs.h
cache.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
cache.h FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
callback.c
cell.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
cmservice.c
dir.c AFS: Fix compilation warning 2009-07-12 12:24:07 -07:00
file.c AFS: Guard afs_file_readpage_read_complete() definition with CONFIG_AFS_FSCACHE 2009-04-17 09:55:19 -07:00
flock.c AFS: Fix lock imbalance 2009-06-30 13:30:44 -07:00
fsclient.c
inode.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
internal.h FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
Kconfig FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
main.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
Makefile FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
misc.c AFS: Correctly translate auth error aborts and don't failover in such cases 2009-06-16 21:20:14 -07:00
mntpt.c headers: mnt_namespace.h redux 2009-07-08 09:31:56 -07:00
netdevices.c afs: BUG to BUG_ON changes 2009-04-09 10:41:19 -07:00
proc.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
rxrpc.c
security.c
server.c
super.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
vlclient.c
vlocation.c AFS: Correctly translate auth error aborts and don't failover in such cases 2009-06-16 21:20:14 -07:00
vnode.c
volume.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00
write.c FS-Cache: Make kAFS use FS-Cache 2009-04-03 16:42:41 +01:00