projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6952b61
)
nfs: nfs_kill_super() should call bdi_unregister() after killing super
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 17 Sep 2009 12:51:44 +0000
(14:51 +0200)
committer
Jens Axboe
<jens.axboe@oracle.com>
Mon, 21 Sep 2009 13:40:32 +0000
(15:40 +0200)
Otherwise we could be attempting to flush data for a writeback
thread and bdi that have already disappeared.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
fs/nfs/super.c
patch
|
blob
|
history
diff --git
a/fs/nfs/super.c
b/fs/nfs/super.c
index de935692d40d77a6592a61ac810887f2bf1ce313..f1cc0587cfef3f2a02fe8c22b5226b014e0321a2 100644
(file)
--- a/
fs/nfs/super.c
+++ b/
fs/nfs/super.c
@@
-2190,8
+2190,8
@@
static void nfs_kill_super(struct super_block *s)
{
struct nfs_server *server = NFS_SB(s);
- bdi_unregister(&server->backing_dev_info);
kill_anon_super(s);
+ bdi_unregister(&server->backing_dev_info);
nfs_fscache_release_super_cookie(s);
nfs_free_server(server);
}