diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-04-21 15:18:55 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-04-21 15:18:55 +0000 |
commit | 2e5d3d2795663d7c3cc88356b307e05f833f4e16 (patch) | |
tree | 18d1d0ac7c60dfab6671b1e43e9dea94fe747c34 /target/linux/generic/patches-2.6.30/217-mini_fo_dentry_check.patch | |
parent | c6379f629559533056a5ba0eaab84a02d6867171 (diff) | |
download | upstream-2e5d3d2795663d7c3cc88356b307e05f833f4e16.tar.gz upstream-2e5d3d2795663d7c3cc88356b307e05f833f4e16.tar.bz2 upstream-2e5d3d2795663d7c3cc88356b307e05f833f4e16.zip |
linux/2.6.30: R.I.P.
SVN-Revision: 31411
Diffstat (limited to 'target/linux/generic/patches-2.6.30/217-mini_fo_dentry_check.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.30/217-mini_fo_dentry_check.patch | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/target/linux/generic/patches-2.6.30/217-mini_fo_dentry_check.patch b/target/linux/generic/patches-2.6.30/217-mini_fo_dentry_check.patch deleted file mode 100644 index cf53e4826f..0000000000 --- a/target/linux/generic/patches-2.6.30/217-mini_fo_dentry_check.patch +++ /dev/null @@ -1,48 +0,0 @@ ---- a/fs/mini_fo/meta.c -+++ b/fs/mini_fo/meta.c -@@ -48,6 +48,9 @@ int meta_build_lists(dentry_t *dentry) - dtohd2(dentry), - strlen(META_FILENAME)); - mutex_unlock(&dtohd2(dentry)->d_inode->i_mutex); -+ if (IS_ERR(meta_dentry)) -+ goto out_ok; -+ - if(!meta_dentry->d_inode) { - dput(meta_dentry); - goto out_ok; -@@ -433,6 +436,8 @@ int meta_write_d_entry(dentry_t *dentry, - meta_dentry = lookup_one_len(META_FILENAME, - dtohd2(dentry), strlen (META_FILENAME)); - mutex_unlock(&dtohd2(dentry)->d_inode->i_mutex); -+ if (IS_ERR(meta_dentry)) -+ return PTR_ERR(meta_dentry); - - /* We need to create a META-file */ - if(!meta_dentry->d_inode) { -@@ -538,6 +543,8 @@ int meta_write_r_entry(dentry_t *dentry, - dtohd2(dentry), - strlen (META_FILENAME)); - mutex_unlock(&dtohd2(dentry)->d_inode->i_mutex); -+ if (IS_ERR(meta_dentry)) -+ return PTR_ERR(meta_dentry); - - if(!meta_dentry->d_inode) { - /* We need to create a META-file */ -@@ -656,6 +663,8 @@ int meta_sync_d_list(dentry_t *dentry, i - dtohd2(dentry), - strlen(META_FILENAME)); - mutex_unlock(&dtohd2(dentry)->d_inode->i_mutex); -+ if (IS_ERR(meta_dentry)) -+ return PTR_ERR(meta_dentry); - - if(!meta_dentry->d_inode) { - /* We need to create a META-file */ -@@ -803,6 +812,8 @@ int meta_sync_r_list(dentry_t *dentry, i - dtohd2(dentry), - strlen(META_FILENAME)); - mutex_unlock(&dtohd2(dentry)->d_inode->i_mutex); -+ if (IS_ERR(meta_dentry)) -+ return PTR_ERR(meta_dentry); - - if(!meta_dentry->d_inode) { - /* We need to create a META-file */ |