git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfs: Fix leak of discard bio
[sfrench/cifs-2.6.git]
/
fs
/
xfs
/
xfs_log_cil.c
diff --git
a/fs/xfs/xfs_log_cil.c
b/fs/xfs/xfs_log_cil.c
index fbe72b134bef219e80420063bfe2db2abc594e49..43aa42a3a5d319fffff98417bff98055083f1a75 100644
(file)
--- a/
fs/xfs/xfs_log_cil.c
+++ b/
fs/xfs/xfs_log_cil.c
@@
-539,6
+539,7
@@
xlog_discard_endio(
INIT_WORK(&ctx->discard_endio_work, xlog_discard_endio_work);
queue_work(xfs_discard_wq, &ctx->discard_endio_work);
+ bio_put(bio);
}
static void