aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r--fs/btrfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 16d3aef45d18..026bc9c4c90d 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -1430,7 +1430,7 @@ read_dir_items:
1430 di = (struct btrfs_dir_item *)((char *)di + di_len); 1430 di = (struct btrfs_dir_item *)((char *)di + di_len);
1431 } 1431 }
1432 } 1432 }
1433 filp->f_pos++; 1433 filp->f_pos = INT_LIMIT(typeof(filp->f_pos));
1434nopos: 1434nopos:
1435 ret = 0; 1435 ret = 0;
1436err: 1436err: