]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit04e482508a5cd925493589d60a41bb125c1ab1fb
treec10043dd582cf9697c0a042427f48af6d2e87e0c
parentde142f61cf5d4af6533ca6b0aff018f9c2ebe118
[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