From 08b95126c787441e4ef572422a5237dd985147be Mon Sep 17 00:00:00 2001 From: hujianyang Date: Tue, 12 May 2015 16:05:57 +0800 Subject: [PATCH] f2fs: add compat_ioctl to provide backward compatability introduce compat_ioctl to regular files, but doesn't add this functionality to f2fs_dir_operations. While running a 32-bit busybox, I met an error like this: (A is a directory) chattr: reading flags on A: Inappropriate ioctl for device This patch copies compat_ioctl from f2fs_file_operations and fix this problem. Signed-off-by: hujianyang Reviewed-by: Chao Yu Signed-off-by: Jaegeuk Kim --- Reading git-format-patch failed