mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
Add compat_ioctl support for VFAT_IOCTL_GET_VOLUME_ID
Add VFAT_IOCTL_GET_VOLUME_ID to vfat dir compat_ioctl() interface, which enable you read vfat volume ID from a 32bit app on a 64bit kernel Change-Id: I3e93dfcc1e7a364a6b11bc7e3f5f210e82f306ed Signed-off-by: Bintian Wang <bintian.wang@linaro.org> Signed-off-by: John Stultz <john.stultz@linaro.org> Git-commit: 79245d37165aad2e57b1919defdd124639ddf55a Git-Repo: https://android.googlesource.com/kernel/common.git Signed-off-by: Ian Maund <imaund@codeaurora.org>
This commit is contained in:
parent
23cec092be
commit
8257dbe964
1 changed files with 2 additions and 0 deletions
|
@ -841,6 +841,8 @@ static long fat_compat_dir_ioctl(struct file *filp, unsigned cmd,
|
|||
short_only = 0;
|
||||
both = 1;
|
||||
break;
|
||||
case VFAT_IOCTL_GET_VOLUME_ID:
|
||||
return fat_ioctl_volume_id(inode);
|
||||
default:
|
||||
return fat_generic_ioctl(filp, cmd, (unsigned long)arg);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue