> diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
> index 15fceef..9c1297b 100644
> --- a/fs/btrfs/inode.c
> +++ b/fs/btrfs/inode.c
> @@ -4125,7 +4125,8 @@ static int btrfs_real_readdir(struct file *filp, void 
> *dirent,
>  
>       /* special case for "." */
>       if (filp->f_pos == 0) {
> -             over = filldir(dirent, ".", 1, 1, btrfs_ino(inode), DT_DIR);
> +             over = filldir(dirent, ".", 1,
> +                            filp->f_pos, inode->i_ino, DT_DIR);

please stick to btrfs_ino().

>               if (over)
>                       return 0;
>               filp->f_pos = 1;
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to