diff options
author | Linus Torvalds | 2020-04-06 08:38:52 -0700 |
---|---|---|
committer | Linus Torvalds | 2020-04-06 08:38:52 -0700 |
commit | 77a73eecd47c2c290cf4ecba2c5b9d26d5d812be (patch) | |
tree | dc7dcb326151655a8ac3ce165296f0adc9e74b58 /fs | |
parent | a10c9c710f9ecea87b9f4bbb837467893b4bef01 (diff) | |
parent | 5bd73286d50fc242bbff1aaddb0e97c4527c9d78 (diff) |
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()
Diffstat (limited to 'fs')
-rw-r--r-- | fs/namei.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/namei.c b/fs/namei.c index 61fdb77a7d58..a320371899cf 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -610,7 +610,7 @@ static bool __legitimize_path(struct path *path, unsigned seq, unsigned mseq) static inline bool legitimize_path(struct nameidata *nd, struct path *path, unsigned seq) { - return __legitimize_path(path, nd->m_seq, seq); + return __legitimize_path(path, seq, nd->m_seq); } static bool legitimize_links(struct nameidata *nd) |