Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e3cd3a5 authored by synt4x93's avatar synt4x93
Browse files

fs: sdcardfs: cleanup

Change-Id: I53857ccf14bc5eae3150fadccaf78a5ed4337e97
parent 569a29ff
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -147,6 +147,8 @@ static int sdcardfs_d_delete(const struct dentry *d)

static void sdcardfs_d_release(struct dentry *dentry)
{
	if (!dentry || !dentry->d_fsdata)
		return;
	/* release and reset the lower paths */
	if (has_graft_path(dentry))
		sdcardfs_put_reset_orig_path(dentry);
@@ -207,3 +209,4 @@ const struct dentry_operations sdcardfs_ci_dops = {
	.d_compare	= sdcardfs_cmp_ci,
	.d_canonical_path = sdcardfs_canonical_path,
};
+2 −0
Original line number Diff line number Diff line
@@ -534,3 +534,5 @@ int setup_obb_dentry(struct dentry *dentry, struct path *lower_path)
	}
	return err;
}

+0 −2
Original line number Diff line number Diff line
@@ -41,8 +41,6 @@ void sdcardfs_destroy_dentry_cache(void)

void free_dentry_private_data(struct dentry *dentry)
{
	if (!dentry || !dentry->d_fsdata)
		return;
	kmem_cache_free(sdcardfs_dentry_cachep, dentry->d_fsdata);
	dentry->d_fsdata = NULL;
}

fs/sdcardfs/o/Kconfig

deleted100644 → 0
+0 −13
Original line number Diff line number Diff line
config SDCARD_FS
	tristate "sdcard file system"
	depends on CONFIGFS_FS
	default y
	help
	  Sdcardfs is based on Wrapfs file system.

config SDCARD_FS_FADV_NOACTIVE
	bool "sdcardfs fadvise noactive support"
	depends on FADV_NOACTIVE
	default y
	help
	  Sdcardfs supports fadvise noactive mode.

fs/sdcardfs/o/Makefile

deleted100644 → 0
+0 −7
Original line number Diff line number Diff line
SDCARDFS_VERSION="0.1"

EXTRA_CFLAGS += -DSDCARDFS_VERSION=\"$(SDCARDFS_VERSION)\"

obj-$(CONFIG_SDCARD_FS) += sdcardfs.o

sdcardfs-y := dentry.o file.o inode.o main.o super.o lookup.o mmap.o packagelist.o derived_perm.o
Loading