freebsd-dev/sys/fs/msdosfs
Konstantin Belousov 9ba671debc Report EBUSY instead of EROFS for attempt of deleting or renaming the
root directory of msdosfs mount. The VFS code would handle deletion
case itself too, assuming VV_ROOT flag is not lost. The msdosfs_rename()
should also note attempt to rename root via doscheckpath() or different
mount point check leading to EXDEV. Nonetheless, keep the checks for now.

The change is inspired by NetBSD change referenced in PR, but return
EBUSY like kern_unlinkat() does.

PR:	kern/152079
MFC after:	1 week
2011-03-25 22:31:28 +00:00
..
bootsect.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
bpb.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
denode.h Remove unused macros. 2010-02-13 11:34:25 +00:00
direntry.h - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
fat.h
msdosfs_conv.c - Add idempotency guards so the structures can be used in other utilities. 2010-02-13 12:41:07 +00:00
msdosfs_denode.c Remove prtactive variable and related printf()s in the vop_inactive 2010-11-19 21:17:34 +00:00
msdosfs_fat.c Add assertions for FAT bitmap state. 2010-02-28 17:15:45 +00:00
msdosfs_fileno.c Use pm_fatlock to protect per-filesystem rb tree used to allocate fileno 2010-02-28 17:16:43 +00:00
msdosfs_iconv.c Remove unused include(s). 2007-08-07 02:08:06 +00:00
msdosfs_lookup.c Report EBUSY instead of EROFS for attempt of deleting or renaming the 2011-03-25 22:31:28 +00:00
msdosfs_vfsops.c The r184588 changed the layout of struct export_args, causing an ABI 2010-10-10 07:05:47 +00:00
msdosfs_vnops.c Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
msdosfsmount.h The r184588 changed the layout of struct export_args, causing an ABI 2010-10-10 07:05:47 +00:00