diff options
author | dmitry pervushin <dmitry.pervushin@linaro.org> | 2013-05-16 10:49:04 +0200 |
---|---|---|
committer | Axel Fagerstedt <axel.fagerstedt@linaro.org> | 2013-05-22 19:32:46 +0200 |
commit | 86b1149613cd88820fc5a03a4e7e9a8753970701 (patch) | |
tree | 63c2056997c8f5912a6c241234285dc508b253a1 | |
parent | 0ec53ecfa9aba0d1ca87f3df84bea174eb81f295 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fat/dir.c b/fs/fat/dir.c index f0a72df1e5b..c4419e87f3e 100644 --- a/fs/fat/dir.c +++ b/fs/fat/dir.c @@ -858,7 +858,7 @@ static long fat_compat_dir_ioctl(struct file *filp, unsigned cmd, both = 1; break; 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]))) |