linux-hardened/fs/exofs
Boaz Harrosh c8592fcc66 exofs: Allow corrupted directory entry to be empty file
If there was an error in fetching an object or extracting
inode info from attributes. Which means corrupted storage.
Let it be an empty ZERO dated directory entry so it can be
deleted. Otherwise the all directory will be inaccessible.

This does not loose data, because if there is an orphan object
somewhere it will be recovered by fschk. But usually this only
means corrupted dir entry. The object was never generated and
only its link exist. This way we can delete the bad entry.

Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
2014-01-23 18:54:14 +02:00
..
BUGS exofs: Documentation 2009-03-31 19:44:38 +03:00
common.h Fix common misspellings 2011-03-31 11:26:23 -03:00
dir.c [readdir] convert exofs 2013-06-29 12:56:34 +04:00
exofs.h exofs: Add SYSFS info for autologin/pNFS export 2012-05-21 12:24:01 +03:00
file.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
inode.c exofs: Allow corrupted directory entry to be empty file 2014-01-23 18:54:14 +02:00
Kbuild exofs: Add SYSFS info for autologin/pNFS export 2012-05-21 12:24:01 +03:00
Kconfig ore: FIX breakage when MISC_FILESYSTEMS is not set 2012-01-06 16:48:14 +02:00
Kconfig.ore ore: FIX breakage when MISC_FILESYSTEMS is not set 2012-01-06 16:48:14 +02:00
namei.c don't pass nameidata to ->create() 2012-07-14 16:34:47 +04:00
ore.c ore: Don't crash on NULL bio in _clear_bio 2014-01-23 18:36:22 +02:00
ore_raid.c block: Add bio_for_each_segment_all() 2013-03-23 14:26:28 -07:00
ore_raid.h ore: RAID5 Write 2011-10-24 17:15:33 -07:00
super.c fs: Limit sys_mount to only request filesystem modules. 2013-03-03 19:36:31 -08:00
symlink.c exofs: Remove IBM copyrights 2009-06-21 17:53:47 +03:00
sys.c exofs: check for allocation failure in uri_store() 2012-08-12 21:54:44 +03:00