projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xfs: remove the flags argument to xfs_trans_cancel
[firefly-linux-kernel-4.4.55.git]
/
fs
/
xfs
/
xfs_file.c
diff --git
a/fs/xfs/xfs_file.c
b/fs/xfs/xfs_file.c
index 8121e75352ee9bddd4726ca685d6d3e855256bdd..46598b7bce86e3ebdb1fe1cbd15a0cc71d84a6b2 100644
(file)
--- a/
fs/xfs/xfs_file.c
+++ b/
fs/xfs/xfs_file.c
@@
-138,7
+138,7
@@
xfs_update_prealloc_flags(
tp = xfs_trans_alloc(ip->i_mount, XFS_TRANS_WRITEID);
error = xfs_trans_reserve(tp, &M_RES(ip->i_mount)->tr_writeid, 0, 0);
if (error) {
- xfs_trans_cancel(tp
, 0
);
+ xfs_trans_cancel(tp);
return error;
}