commit ff20a84e71973a9673957e9fbfb62b39f2ce2d07
Author: Yiannis Pericleous <[EMAIL PROTECTED]>
Date: Fri May 25 14:23:21 2007 -0400
removed the odf_sb_info field from the odf_dentry_info struct
diff --git a/fs/unionfs/odf.c b/fs/unionfs/odf.c
index
215f53a455980b1f7b52b134e0479bca350c3c2d..78af658470fd48a0de140d99a988754fb0cb9b3c
100644
--- a/fs/unionfs/odf.c
+++ b/fs/unionfs/odf.c
@@ -1326,7 +1326,7 @@ int odf_create_wh(struct dentry *dentry)
struct dentry *odf_dentry;
if (UNIONFS_D(dentry)->odf_info) {
odf_dentry = UNIONFS_D(dentry)->odf_info->dentry;
- if (__odf_is_wh(UNIONFS_D(dentry)->odf_info->osi, odf_dentry))
+ if (__odf_is_wh(UNIONFS_SB(dentry->d_sb)->odf, odf_dentry))
goto out; /* nothing to be done */
/* remove entry if existed */
err = odf_remove(dentry, ODF_RMV_ANY);
@@ -1377,7 +1377,7 @@ int odf_remove(struct dentry *dentry, in
if (!odi)
goto out;
/* should we remove? */
- if (__odf_is_wh(odi->osi, odi->dentry)) {
+ if (__odf_is_wh(UNIONFS_SB(dentry->d_sb)->odf, odi->dentry)) {
if (flags & ODF_RMV_WH)
rmv = 1;
}
@@ -1847,7 +1847,6 @@ struct odf_dentry_info *odf_alloc_info(s
odi->whiteout = __odf_is_wh(osi, odf_dentry);
odi->opaque = __odf_get_opaque(odf_dentry->d_inode);
odi->dentry = odf_dentry;
- odi->osi = osi;
dget(odf_dentry);
return odi;
}
@@ -1860,7 +1859,6 @@ struct odf_dentry_info *odf_fill_info(st
dget(odf_dentry);
dput(odi->dentry);
odi->dentry = odf_dentry;
- odi->osi = osi;
return odi;
}
diff --git a/fs/unionfs/union.h b/fs/unionfs/union.h
index
8df314db8f5adb38fea848fde4c0d60bdee97b80..824dd643abcade8cee31e190bd8e880b13d07c01
100644
--- a/fs/unionfs/union.h
+++ b/fs/unionfs/union.h
@@ -98,7 +98,6 @@ struct odf_dentry_info {
int whiteout;
int opaque;
struct dentry *dentry;
- struct odf_sb_info *osi;
};
/* odf sb data */
_______________________________________________
unionfs-cvs mailing list: http://unionfs.filesystems.org/
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs-cvs