[AFS]: Handle multiple mounts of an AFS superblock correctly.
authorDavid Howells <dhowells@redhat.com>
Thu, 26 Apr 2007 22:56:24 +0000 (15:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Apr 2007 22:56:24 +0000 (15:56 -0700)
commit436058a49e0fb91c74454dbee9cfee6fb53b4336
treec10043dd582cf9697c0a042427f48af6d2e87e0c
parent63b6be55e8b51cb718468794d343058e96c7462c
[AFS]: Handle multiple mounts of an AFS superblock correctly.

Handle multiple mounts of an AFS superblock correctly, checking to see
whether the superblock is already initialised after calling sget()
rather than just unconditionally stamping all over it.

Also delete the "silent" parameter to afs_fill_super() as it's not
used and can, in any case, be obtained from sb->s_flags.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/afs/super.c