diff options
author | Heiko Carstens <[email protected]> | 2014-01-27 17:07:19 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2014-01-27 21:02:40 -0800 |
commit | 592f6b842f64e416c7598a1b97c649b34241e22d (patch) | |
tree | 8e73e99cddd535d1ea9a4e8c4f73b21c421ebabf /fs/jbd/commit.c | |
parent | b36190c5f85724da1871bfb8eddbeb77a45c4952 (diff) |
compat: fix sys_fanotify_mark
Commit 91c2e0bcae72 ("unify compat fanotify_mark(2), switch to
COMPAT_SYSCALL_DEFINE") added a new unified compat fanotify_mark syscall
to be used by all architectures.
Unfortunately the unified version merges the split mask parameter in a
wrong way: the lower and higher word got swapped.
This was discovered with glibc's tst-fanotify test case.
Signed-off-by: Heiko Carstens <[email protected]>
Reported-by: Andreas Krebbel <[email protected]>
Cc: "James E.J. Bottomley" <[email protected]>
Acked-by: "David S. Miller" <[email protected]>
Acked-by: Al Viro <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: <[email protected]> [3.10+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions