diff mbox

[3/3] VFAT GET_VOLUME_ID ioctl

Message ID 1368694144-20863-3-git-send-email-dmitry.pervushin@linaro.org
State New
Headers show

Commit Message

Dmitry Pervushin May 16, 2013, 8:49 a.m. UTC
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>
---
 fs/fat/dir.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/fs/fat/dir.c b/fs/fat/dir.c
index 37849b1..93170fa 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])))