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

Li Zefan
2009-04-08T07:05:38Z

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(-)
---