fat: drop negative dentry on rename() path
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Tue, 11 Nov 2008 22:48:00 +0000 (07:48 +0900)
committerOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Tue, 11 Nov 2008 23:51:22 +0000 (08:51 +0900)
commitebeb0406f153db51ab2d4771faf2342bd6ca14dd
tree9d2799ba64528ea053ab7340e33087b3c7edccc3
parentf21f237cf55494c3a4209de323281a3b0528da10
fat: drop negative dentry on rename() path

Drop the negative dentry on rename() path, in order to make sure to
use the case sensitive name which is specified by user if this is for
creation.

For it, this uses newly added LOOKUP_RENAME_TARGET like LOOKUP_CREATE.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
fs/fat/namei_vfat.c