git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfs: let xfs_bwrite callers handle the xfs_buf_relse
[pandora-kernel.git]
/
fs
/
xfs
/
xfs_inode.c
diff --git
a/fs/xfs/xfs_inode.c
b/fs/xfs/xfs_inode.c
index
f8fe1c6
..
7f237ba
100644
(file)
--- a/
fs/xfs/xfs_inode.c
+++ b/
fs/xfs/xfs_inode.c
@@
-2597,11
+2597,11
@@
xfs_iflush(
goto cluster_corrupt_out;
if (flags & SYNC_WAIT)
- error = xfs_bwrite(
mp,
bp);
- else
{
+ error = xfs_bwrite(bp);
+ else
xfs_buf_delwri_queue(bp);
- xfs_buf_relse(bp);
- }
+
+ xfs_buf_relse(bp);
return error;
corrupt_out: