[PATCH 0/6] fs: use memdup_user()

From: Li Zefan
Date: Wed Apr 08 2009 - 03:05:38 EST


Remove open-coded memdup_user() in fs/.

text data bss dec hex filename
7684360 520520 5629456 13834336 d31860 vmlinux.o.orig
text data bss dec hex filename
7683392 520520 5629456 13833368 d31498 vmlinux.o

fs/btrfs/ioctl.c | 49 +++++++++------------------------------
fs/btrfs/super.c | 13 +++-------
fs/ecryptfs/miscdev.c | 15 ++++--------
fs/ncpfs/ioctl.c | 21 +++++-----------
fs/sysfs/bin.c | 13 ++--------
fs/xattr.c | 10 ++-----
fs/xfs/linux-2.6/xfs_ioctl.c | 23 +++++-------------
fs/xfs/linux-2.6/xfs_ioctl32.c | 12 +++------
8 files changed, 45 insertions(+), 111 deletions(-)
---

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/