aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.38/217-mini_fo_2.6.35.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-03-17 20:23:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-03-17 20:23:14 +0000
commit4f06dc1907ce4d8ac9737b82a1a0d60bdbd08a9e (patch)
treebdabe22b76851d4a89c633eadd5c57b06abf6c72 /target/linux/generic/patches-2.6.38/217-mini_fo_2.6.35.patch
parentde2b5158a16337aa56bf3a17ac9956061c7ed70d (diff)
downloadupstream-4f06dc1907ce4d8ac9737b82a1a0d60bdbd08a9e.tar.gz
upstream-4f06dc1907ce4d8ac9737b82a1a0d60bdbd08a9e.tar.bz2
upstream-4f06dc1907ce4d8ac9737b82a1a0d60bdbd08a9e.zip
kernel: replace mini_fo with overlayfs for 2.6.38
SVN-Revision: 26213
Diffstat (limited to 'target/linux/generic/patches-2.6.38/217-mini_fo_2.6.35.patch')
-rw-r--r--target/linux/generic/patches-2.6.38/217-mini_fo_2.6.35.patch45
1 files changed, 0 insertions, 45 deletions
diff --git a/target/linux/generic/patches-2.6.38/217-mini_fo_2.6.35.patch b/target/linux/generic/patches-2.6.38/217-mini_fo_2.6.35.patch
deleted file mode 100644
index 61f54f0359..0000000000
--- a/target/linux/generic/patches-2.6.38/217-mini_fo_2.6.35.patch
+++ /dev/null
@@ -1,45 +0,0 @@
---- a/fs/mini_fo/file.c
-+++ b/fs/mini_fo/file.c
-@@ -599,7 +599,7 @@ mini_fo_release(inode_t *inode, file_t *
- }
-
- STATIC int
--mini_fo_fsync(file_t *file, dentry_t *dentry, int datasync)
-+mini_fo_fsync(file_t *file, int datasync)
- {
- int err1 = 0;
- int err2 = 0;
-@@ -609,14 +609,14 @@ mini_fo_fsync(file_t *file, dentry_t *de
- check_mini_fo_file(file);
-
- if ((hidden_file = ftohf(file)) != NULL) {
-- hidden_dentry = dtohd(dentry);
-+ hidden_dentry = dtohd(file->f_path.dentry);
- if (hidden_file->f_op && hidden_file->f_op->fsync) {
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
- mutex_lock(&hidden_dentry->d_inode->i_mutex);
- #else
- down(&hidden_dentry->d_inode->i_sem);
- #endif
-- err1 = hidden_file->f_op->fsync(hidden_file, hidden_dentry, datasync);
-+ err1 = hidden_file->f_op->fsync(hidden_file, datasync);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
- mutex_unlock(&hidden_dentry->d_inode->i_mutex);
- #else
-@@ -626,14 +626,14 @@ mini_fo_fsync(file_t *file, dentry_t *de
- }
-
- if ((hidden_file = ftohf2(file)) != NULL) {
-- hidden_dentry = dtohd2(dentry);
-+ hidden_dentry = dtohd2(file->f_path.dentry);
- if (hidden_file->f_op && hidden_file->f_op->fsync) {
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
- mutex_lock(&hidden_dentry->d_inode->i_mutex);
- #else
- down(&hidden_dentry->d_inode->i_sem);
- #endif
-- err2 = hidden_file->f_op->fsync(hidden_file, hidden_dentry, datasync);
-+ err2 = hidden_file->f_op->fsync(hidden_file, datasync);
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,16)
- mutex_unlock(&hidden_dentry->d_inode->i_mutex);
- #else