summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmitry pervushin <dmitry.pervushin@linaro.org>2013-05-16 10:49:04 +0200
committerBernhard Rosenkränzer <bero@lindev.ch>2013-07-18 20:49:02 +0200
commite3d8f021bf6654952fd8f27d08d6ec6e89dfdfa2 (patch)
treeb61590affaa7f2f6ce550724cb4ff86554b45479
parent7d1aa1f97f4fdc7a4a4c815af9cfc37114b4fe19 (diff)
VFAT GET_VOLUME_ID ioctl
Add call to fat_dir_generic_ioctl to compat_ioctl to allow getting volume ids from 32-bit code as well as 64-bit Signed-off-by: dmitry pervushin <dmitry.pervushin@linaro.org>
-rw-r--r--fs/fat/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index 9feae8c2c61..749ea02d681 100644
--- a/fs/fat/dir.c
+++ b/fs/fat/dir.c
@@ -860,7 +860,7 @@ static long fat_compat_dir_ioctl(struct file *filp, unsigned cmd,
case VFAT_IOCTL_GET_VOLUME_ID:
return fat_ioctl_volume_id(inode);
default:
- return fat_generic_ioctl(filp, cmd, (unsigned long)arg);
+ return fat_dir_generic_ioctl(filp, cmd, (unsigned long)arg);
}
if (!access_ok(VERIFY_WRITE, d1, sizeof(struct compat_dirent[2])))