fsnotify: use unsigned char * for dentry->d_name.name
authorEric Paris <eparis@redhat.com>
Mon, 8 Feb 2010 17:53:52 +0000 (12:53 -0500)
committerEric Paris <eparis@redhat.com>
Wed, 28 Jul 2010 13:59:01 +0000 (09:59 -0400)
commit59b0df211bd9699d7e0d01fcf9345a149f75b033
tree0f6e8bebfa090aa5c1d91d9efc5c2b04aeeed05c
parent43ed7e16a8b47059d7f6ff67ba76f383a2421de3
fsnotify: use unsigned char * for dentry->d_name.name

fsnotify was using char * when it passed around the d_name.name string
internally but it is actually an unsigned char *.  This patch switches
fsnotify to use unsigned and should silence some pointer signess warnings
which have popped out of xfs.  I do not add -Wpointer-sign to the fsnotify
code as there are still issues with kstrdup and strlen which would pop
out needless warnings.

Signed-off-by: Eric Paris <eparis@redhat.com>
fs/namei.c
fs/notify/fsnotify.c
fs/notify/notification.c
include/linux/fsnotify.h
include/linux/fsnotify_backend.h