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
btrfs: use BUG() instead of BUG_ON(1)
[sfrench/cifs-2.6.git]
/
fs
/
btrfs
/
file.c
diff --git
a/fs/btrfs/file.c
b/fs/btrfs/file.c
index 34fe8a58b0e9cb65d5faddfcec1b655858ed8589..5e6aee84daeef7e353d26cc9fcfcf7987e155d1b 100644
(file)
--- a/
fs/btrfs/file.c
+++ b/
fs/btrfs/file.c
@@
-1025,7
+1025,7
@@
delete_extent_item:
continue;
}
- BUG
_ON(1
);
+ BUG
(
);
}
if (!ret && del_nr > 0) {
@@
-2165,7
+2165,6
@@
int btrfs_sync_file(struct file *file, loff_t start, loff_t end, int datasync)
inode_unlock(inode);
goto out;
}
- trans->sync = true;
ret = btrfs_log_dentry_safe(trans, dentry, start, end, &ctx);
if (ret < 0) {