SOURCES: kernel-desktop-NFS_ALL.patch - updated from linux-2.6.22-...
glen
glen at pld-linux.org
Wed Feb 27 16:00:09 CET 2008
Author: glen Date: Wed Feb 27 15:00:08 2008 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated from linux-2.6.22-NFS_ALL.dif (r1.1.2.1)
---- Files affected:
SOURCES:
kernel-desktop-NFS_ALL.patch (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/kernel-desktop-NFS_ALL.patch
diff -u SOURCES/kernel-desktop-NFS_ALL.patch:1.1 SOURCES/kernel-desktop-NFS_ALL.patch:1.2
--- SOURCES/kernel-desktop-NFS_ALL.patch:1.1 Thu Aug 23 14:10:35 2007
+++ SOURCES/kernel-desktop-NFS_ALL.patch Wed Feb 27 16:00:03 2008
@@ -717,33 +717,6 @@
index c27258b..322141f 100644
--- a/fs/nfs/dir.c
+++ b/fs/nfs/dir.c
-@@ -897,14 +897,13 @@ int nfs_is_exclusive_create(struct inode *dir, struct nameidata *nd)
- return (nd->intent.open.flags & O_EXCL) != 0;
- }
-
--static inline int nfs_reval_fsid(struct vfsmount *mnt, struct inode *dir,
-- struct nfs_fh *fh, struct nfs_fattr *fattr)
-+static inline int nfs_reval_fsid(struct inode *dir, const struct nfs_fattr *fattr)
- {
- struct nfs_server *server = NFS_SERVER(dir);
-
- if (!nfs_fsid_equal(&server->fsid, &fattr->fsid))
-- /* Revalidate fsid on root dir */
-- return __nfs_revalidate_inode(server, mnt->mnt_root->d_inode);
-+ /* Revalidate fsid using the parent directory */
-+ return __nfs_revalidate_inode(server, dir);
- return 0;
- }
-
-@@ -946,7 +945,7 @@ static struct dentry *nfs_lookup(struct inode *dir, struct dentry * dentry, stru
- res = ERR_PTR(error);
- goto out_unlock;
- }
-- error = nfs_reval_fsid(nd->mnt, dir, &fhandle, &fattr);
-+ error = nfs_reval_fsid(dir, &fattr);
- if (error < 0) {
- res = ERR_PTR(error);
- goto out_unlock;
@@ -1244,7 +1243,7 @@ static int nfs_create(struct inode *dir, struct dentry *dentry, int mode,
attr.ia_mode = mode;
attr.ia_valid = ATTR_MODE;
@@ -940,17 +913,6 @@
}
/*
-@@ -961,8 +967,8 @@ static int nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr)
- goto out_changed;
-
- server = NFS_SERVER(inode);
-- /* Update the fsid if and only if this is the root directory */
-- if (inode == inode->i_sb->s_root->d_inode
-+ /* Update the fsid? */
-+ if (S_ISDIR(inode->i_mode)
- && !nfs_fsid_equal(&server->fsid, &fattr->fsid))
- server->fsid = fattr->fsid;
-
@@ -1066,8 +1072,10 @@ static int nfs_update_inode(struct inode *inode, struct nfs_fattr *fattr)
invalid &= ~NFS_INO_INVALID_DATA;
if (data_stable)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/kernel-desktop-NFS_ALL.patch?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list