Skip to content

Commit 77a73ee

Browse files
committed
Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull vfs pathwalk fix from Al Viro: "Dumb braino in legitimize_path()..." * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: fix a braino in legitimize_path()
2 parents a10c9c7 + 5bd7328 commit 77a73ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/namei.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ static bool __legitimize_path(struct path *path, unsigned seq, unsigned mseq)
610610
static inline bool legitimize_path(struct nameidata *nd,
611611
struct path *path, unsigned seq)
612612
{
613-
return __legitimize_path(path, nd->m_seq, seq);
613+
return __legitimize_path(path, seq, nd->m_seq);
614614
}
615615

616616
static bool legitimize_links(struct nameidata *nd)

0 commit comments

Comments
 (0)