diff options
| author | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
|---|---|---|
| committer | Anton Altaparmakov <aia21@cantab.net> | 2006-01-19 11:39:33 -0500 |
| commit | 944d79559d154c12becde0dab327016cf438f46c (patch) | |
| tree | 50c101806f4d3b6585222dda060559eb4f3e005a /fs/smbfs/cache.c | |
| parent | d087e4bdd24ebe3ae3d0b265b6573ec901af4b4b (diff) | |
| parent | 0f36b018b2e314d45af86449f1a97facb1fbe300 (diff) | |
Merge branch 'master' of /usr/src/ntfs-2.6/
Diffstat (limited to 'fs/smbfs/cache.c')
| -rw-r--r-- | fs/smbfs/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/smbfs/cache.c b/fs/smbfs/cache.c index f3e6b81288ab..74b86d9725a6 100644 --- a/fs/smbfs/cache.c +++ b/fs/smbfs/cache.c | |||
| @@ -66,7 +66,7 @@ smb_invalidate_dircache_entries(struct dentry *parent) | |||
| 66 | spin_lock(&dcache_lock); | 66 | spin_lock(&dcache_lock); |
| 67 | next = parent->d_subdirs.next; | 67 | next = parent->d_subdirs.next; |
| 68 | while (next != &parent->d_subdirs) { | 68 | while (next != &parent->d_subdirs) { |
| 69 | dentry = list_entry(next, struct dentry, d_child); | 69 | dentry = list_entry(next, struct dentry, d_u.d_child); |
| 70 | dentry->d_fsdata = NULL; | 70 | dentry->d_fsdata = NULL; |
| 71 | smb_age_dentry(server, dentry); | 71 | smb_age_dentry(server, dentry); |
| 72 | next = next->next; | 72 | next = next->next; |
| @@ -100,7 +100,7 @@ smb_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos) | |||
| 100 | spin_lock(&dcache_lock); | 100 | spin_lock(&dcache_lock); |
| 101 | next = parent->d_subdirs.next; | 101 | next = parent->d_subdirs.next; |
| 102 | while (next != &parent->d_subdirs) { | 102 | while (next != &parent->d_subdirs) { |
| 103 | dent = list_entry(next, struct dentry, d_child); | 103 | dent = list_entry(next, struct dentry, d_u.d_child); |
| 104 | if ((unsigned long)dent->d_fsdata == fpos) { | 104 | if ((unsigned long)dent->d_fsdata == fpos) { |
| 105 | if (dent->d_inode) | 105 | if (dent->d_inode) |
| 106 | dget_locked(dent); | 106 | dget_locked(dent); |
