Displaying 1 result from an estimated 1 matches for "262d9db".
Did you mean:
0x2d9db
2013 Apr 16
2
[PATCH v2] Btrfs: return error when we specify wrong start to defrag
...orce compress flag but also FS''s incompat flags.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
---
v2: make changelog more clearly.
fs/btrfs/ioctl.c | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 69cd80d..262d9db 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -1152,8 +1152,11 @@ int btrfs_defrag_file(struct inode *inode, struct file *file,
u64 new_align = ~((u64)128 * 1024 - 1);
struct page **pages = NULL;
- if (extent_thresh == 0)
- extent_thresh = 256 * 1024;
+ if (isize == 0)
+ return 0;...