fs/locks: don't mess with the address limit in compat_fcntl64
authorChristoph Hellwig <hch@lst.de>
Sat, 27 May 2017 10:07:20 +0000 (06:07 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 1 Jun 2017 15:29:07 +0000 (11:29 -0400)
commit94073ad77fff221b5e66b8b9863a546ba212d6a3
treeca80a24ec3db6859b9dabe65ad18c637cecb3299
parenta75d30c772078546ac00399a94ecdc82df1a4d72
fs/locks: don't mess with the address limit in compat_fcntl64

Instead write a proper compat syscall that calls common helpers.

[ jlayton: fix pointer dereferencing in fixup_compat_flock ]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
fs/fcntl.c