patch-1.3.53 linux/fs/smbfs/dir.c

Next file: linux/fs/smbfs/file.c
Previous file: linux/fs/read_write.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.52/linux/fs/smbfs/dir.c linux/fs/smbfs/dir.c
@@ -501,7 +501,7 @@
                 return NULL;
         }
 
-        new_inode_info->state = INODE_LOOKED_UP;
+        new_inode_info->state = SMB_INODE_LOOKED_UP;
         new_inode_info->nused = 0;
         new_inode_info->dir   = SMB_INOP(dir);
 
@@ -539,8 +539,8 @@
                 return;
         }
 
-        i->state = INODE_CACHED;
-        while ((i->nused == 0) && (i->state == INODE_CACHED)) {
+        i->state = SMB_INODE_CACHED;
+        while ((i->nused == 0) && (i->state == SMB_INODE_CACHED)) {
                 struct smb_inode_info *dir = i->dir;
 
                 i->next->prev = i->prev;
@@ -565,7 +565,7 @@
         root->finfo.len  = strlen(root->finfo.path);
         root->finfo.opened = 0;
 
-        root->state = INODE_LOOKED_UP;
+        root->state = SMB_INODE_LOOKED_UP;
         root->nused = 1;
         root->dir   = NULL;
         root->next = root->prev = root;
@@ -690,8 +690,8 @@
 
         if (result_info != 0) {
 
-                if (result_info->state == INODE_CACHED)
-                        result_info->state = INODE_LOOKED_UP;
+                if (result_info->state == SMB_INODE_CACHED)
+                        result_info->state = SMB_INODE_LOOKED_UP;
 
                 put_pname(name);
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this