diff options
Diffstat (limited to 'fs/afs/super.c')
-rw-r--r-- | fs/afs/super.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/afs/super.c b/fs/afs/super.c index 77e1e5a61154..eacf76d98ae0 100644 --- a/fs/afs/super.c +++ b/fs/afs/super.c | |||
@@ -19,7 +19,6 @@ | |||
19 | #include <linux/mount.h> | 19 | #include <linux/mount.h> |
20 | #include <linux/init.h> | 20 | #include <linux/init.h> |
21 | #include <linux/slab.h> | 21 | #include <linux/slab.h> |
22 | #include <linux/smp_lock.h> | ||
23 | #include <linux/fs.h> | 22 | #include <linux/fs.h> |
24 | #include <linux/pagemap.h> | 23 | #include <linux/pagemap.h> |
25 | #include <linux/parser.h> | 24 | #include <linux/parser.h> |
@@ -453,12 +452,8 @@ static void afs_put_super(struct super_block *sb) | |||
453 | 452 | ||
454 | _enter(""); | 453 | _enter(""); |
455 | 454 | ||
456 | lock_kernel(); | ||
457 | |||
458 | afs_put_volume(as->volume); | 455 | afs_put_volume(as->volume); |
459 | 456 | ||
460 | unlock_kernel(); | ||
461 | |||
462 | _leave(""); | 457 | _leave(""); |
463 | } | 458 | } |
464 | 459 | ||