summaryrefslogtreecommitdiffstats
path: root/fs/afs/super.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-06-14 21:22:15 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-06-14 21:22:15 +0900
commitbff7b55bdb325f62c4e30a97883ebd2b536bd47b (patch)
treede4ab64ec0837ae308e17312b553e9a5209b6f62 /fs/afs/super.c
parente7fad451f06e21e74b6051c5ad4917e37460be3a (diff)
parent44b7532b8b464f606053562400719c9c21276037 (diff)
downloadop-kernel-dev-bff7b55bdb325f62c4e30a97883ebd2b536bd47b.zip
op-kernel-dev-bff7b55bdb325f62c4e30a97883ebd2b536bd47b.tar.gz
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'fs/afs/super.c')
-rw-r--r--fs/afs/super.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/afs/super.c b/fs/afs/super.c
index 76828e5..ad0514d 100644
--- a/fs/afs/super.c
+++ b/fs/afs/super.c
@@ -440,8 +440,12 @@ static void afs_put_super(struct super_block *sb)
_enter("");
+ lock_kernel();
+
afs_put_volume(as->volume);
+ unlock_kernel();
+
_leave("");
}
OpenPOWER on IntegriCloud