]> git.hungrycats.org Git - linux/commit
[PATCH] VFAT: ->i_[cam]time cleanups (1/6)
authorHirofumi Ogawa <hirofumi@mail.parknet.co.jp>
Mon, 6 Oct 2003 04:01:37 +0000 (21:01 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Mon, 6 Oct 2003 04:01:37 +0000 (21:01 -0700)
commitf76e3f49d09a1bab53a791b68a86bb4a03669029
tree78089958bd3f474f026a1a7ae33eea44095dddab
parent07bd1e13bc9fe03d8c494d1e290e8d976fc2e9af
[PATCH] VFAT: ->i_[cam]time cleanups (1/6)

From RenĂ© Scharfe <l.s.r@web.de>

there's one call to strncpy() in vfat that really should be a memcpy().
The source, msdos_name, is a space-filled char array, not a
NUL-terminated string.

The rest of the patch eliminates duplicate occurencies of the
CURRENT_TIME macro inside functions. This shrinks vfat.o by a few
bytes.
fs/vfat/namei.c