]> git.baikalelectronics.ru Git - kernel.git/commit
fat_valid_media() isn't for userspace
authorAdrian Bunk <bunk@kernel.org>
Sun, 8 Jun 2008 18:43:10 +0000 (21:43 +0300)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 8 Jun 2008 18:58:43 +0000 (11:58 -0700)
commitb4f2336fc687ed8981e55040be85e0439b8c9567
tree7c321c0174d55fcca5783d9d3e6084629bcd79be
parent910490cafd3b69a5653aba8f3a8a85de3941125e
fat_valid_media() isn't for userspace

Commit ab1c23a41b60cb6a5f8ee405409b9318c15cdf64 ("FAT_VALID_MEDIA():
remove pointless test") wrongly added the new fat_valid_media() function
to the userspace-visible part of include/linux/msdos_fs.h

Move it to the part of include/linux/msdos_fs.h that is not exported to
userspace.

Reported-by: Onur Küçük <onur@pardus.org.tr>
Reported-by: S.Çağlar Onur <caglar@pardus.org.tr>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/msdos_fs.h