projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: pwrite blocked when writing from the mmaped buffer of the same page
[deliverable/linux.git]
/
fs
/
btrfs
/
orphan.c
diff --git
a/fs/btrfs/orphan.c
b/fs/btrfs/orphan.c
index 79cba5fbc28ef8061e2d599110a3a525216a7bfd..f8be250963a09a283b8ec4ab04bcb1c3a962427e 100644
(file)
--- a/
fs/btrfs/orphan.c
+++ b/
fs/btrfs/orphan.c
@@
-56,8
+56,12
@@
int btrfs_del_orphan_item(struct btrfs_trans_handle *trans,
return -ENOMEM;
ret = btrfs_search_slot(trans, root, &key, path, -1, 1);
- if (ret)
+ if (ret
< 0
)
goto out;
+ if (ret) {
+ ret = -ENOENT;
+ goto out;
+ }
ret = btrfs_del_item(trans, root, path);
This page took
0.030837 seconds
and
5
git commands to generate.