summaryrefslogtreecommitdiffstats
path: root/fs/compat.c
diff options
context:
space:
mode:
authorSebastian Reichel <sre@kernel.org>2014-05-06 15:44:50 +0200
committerSebastian Reichel <sre@kernel.org>2014-05-06 15:44:50 +0200
commit695f5ec02203ef23f127eacb86991d23307f3c6f (patch)
treeecb9c29268fa34559dfa06472d991bc5d92708be /fs/compat.c
parent5bdeae302496a8ac49848f4fed26b1d87a67d966 (diff)
parent793ec5f7dccf95c0d6d5d57a925a13261a7cbd2b (diff)
downloadlinux-695f5ec02203ef23f127eacb86991d23307f3c6f.tar.bz2
Merge branch 'n900-modem-support' into n900-dt-with-ssin900-dt-with-ssi
Conflicts: arch/arm/boot/dts/omap3-n900.dts
Diffstat (limited to 'fs/compat.c')
-rw-r--r--fs/compat.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/fs/compat.c b/fs/compat.c
index ca926ad0430c..66d3d3c6b4b2 100644
--- a/fs/compat.c
+++ b/fs/compat.c
@@ -457,9 +457,9 @@ COMPAT_SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd,
case F_GETLK64:
case F_SETLK64:
case F_SETLKW64:
- case F_GETLKP:
- case F_SETLKP:
- case F_SETLKPW:
+ case F_OFD_GETLK:
+ case F_OFD_SETLK:
+ case F_OFD_SETLKW:
ret = get_compat_flock64(&f, compat_ptr(arg));
if (ret != 0)
break;
@@ -468,7 +468,7 @@ COMPAT_SYSCALL_DEFINE3(fcntl64, unsigned int, fd, unsigned int, cmd,
conv_cmd = convert_fcntl_cmd(cmd);
ret = sys_fcntl(fd, conv_cmd, (unsigned long)&f);
set_fs(old_fs);
- if ((conv_cmd == F_GETLK || conv_cmd == F_GETLKP) && ret == 0) {
+ if ((conv_cmd == F_GETLK || conv_cmd == F_OFD_GETLK) && ret == 0) {
/* need to return lock information - see above for commentary */
if (f.l_start > COMPAT_LOFF_T_MAX)
ret = -EOVERFLOW;
@@ -493,9 +493,9 @@ COMPAT_SYSCALL_DEFINE3(fcntl, unsigned int, fd, unsigned int, cmd,
case F_GETLK64:
case F_SETLK64:
case F_SETLKW64:
- case F_GETLKP:
- case F_SETLKP:
- case F_SETLKPW:
+ case F_OFD_GETLK:
+ case F_OFD_SETLK:
+ case F_OFD_SETLKW:
return -EINVAL;
}
return compat_sys_fcntl64(fd, cmd, arg);