fat: Add allow_utime option
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Mon, 28 Apr 2008 09:16:26 +0000 (02:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:47 +0000 (08:58 -0700)
commit1ae43f826b6cb951fc5b0f9c92372a8d5b63c7f9
treeaea00f01d74a40e026974182006e8af903b0b241
parente97e8de388723f9491514fa0434ddf1fd713a188
fat: Add allow_utime option

Normally utime(2) checks current process is owner of the file, or it
has CAP_FOWNER capability.  But FAT filesystem doesn't have uid/gid as
on disk info, so normal check is too unflexible.

With this option you can relax it.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/filesystems/vfat.txt
fs/fat/file.c
fs/fat/inode.c
include/linux/msdos_fs.h