Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a9af9835 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull fuse fix from Miklos Szeredi:
 "This fixes a longstanding bug, which can be triggered by interrupting
  a directory reading syscall"

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse:
  fuse: fix READDIRPLUS skipping an entry
parents 11224e1f c6cdd514
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1308,6 +1308,7 @@ static int parse_dirplusfile(char *buf, size_t nbytes, struct file *file,
			*/
			*/
			over = !dir_emit(ctx, dirent->name, dirent->namelen,
			over = !dir_emit(ctx, dirent->name, dirent->namelen,
				       dirent->ino, dirent->type);
				       dirent->ino, dirent->type);
			if (!over)
				ctx->pos = dirent->off;
				ctx->pos = dirent->off;
		}
		}