aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs')
-rw-r--r--fs/btrfs/ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c
index 363e209679b6..38a68863390a 100644
--- a/fs/btrfs/ioctl.c
+++ b/fs/btrfs/ioctl.c
@@ -1000,7 +1000,7 @@ static noinline int copy_to_sk(struct btrfs_root *root,
1000advance_key: 1000advance_key:
1001 if (key->offset < (u64)-1) 1001 if (key->offset < (u64)-1)
1002 key->offset++; 1002 key->offset++;
1003 else if (key->type < (u64)-1) 1003 else if (key->type < (u8)-1)
1004 key->type++; 1004 key->type++;
1005 else if (key->objectid < (u64)-1) 1005 else if (key->objectid < (u64)-1)
1006 key->objectid++; 1006 key->objectid++;