diff options
author | Josef Sipek <jsipek@fsl.cs.sunysb.edu> | 2006-12-08 05:37:39 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:28:49 -0500 |
commit | 17b75e69493f655a09908045eddbb48718aef5de (patch) | |
tree | e38bd5c7dfea2027f81ea7a784ee2003bcb9c47c /fs/smbfs/dir.c | |
parent | c943c4b49c75f3cae89e5d993ce1ae859395caa2 (diff) |
[PATCH] struct path: convert smbfs
Signed-off-by: Josef Sipek <jsipek@fsl.cs.sunysb.edu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/smbfs/dir.c')
-rw-r--r-- | fs/smbfs/dir.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/smbfs/dir.c b/fs/smbfs/dir.c index 70d9c5a37f5a..b1e58d1ac9ca 100644 --- a/fs/smbfs/dir.c +++ b/fs/smbfs/dir.c | |||
@@ -78,7 +78,7 @@ struct inode_operations smb_dir_inode_operations_unix = | |||
78 | static int | 78 | static int |
79 | smb_readdir(struct file *filp, void *dirent, filldir_t filldir) | 79 | smb_readdir(struct file *filp, void *dirent, filldir_t filldir) |
80 | { | 80 | { |
81 | struct dentry *dentry = filp->f_dentry; | 81 | struct dentry *dentry = filp->f_path.dentry; |
82 | struct inode *dir = dentry->d_inode; | 82 | struct inode *dir = dentry->d_inode; |
83 | struct smb_sb_info *server = server_from_dentry(dentry); | 83 | struct smb_sb_info *server = server_from_dentry(dentry); |
84 | union smb_dir_cache *cache = NULL; | 84 | union smb_dir_cache *cache = NULL; |
@@ -238,12 +238,12 @@ out: | |||
238 | static int | 238 | static int |
239 | smb_dir_open(struct inode *dir, struct file *file) | 239 | smb_dir_open(struct inode *dir, struct file *file) |
240 | { | 240 | { |
241 | struct dentry *dentry = file->f_dentry; | 241 | struct dentry *dentry = file->f_path.dentry; |
242 | struct smb_sb_info *server; | 242 | struct smb_sb_info *server; |
243 | int error = 0; | 243 | int error = 0; |
244 | 244 | ||
245 | VERBOSE("(%s/%s)\n", dentry->d_parent->d_name.name, | 245 | VERBOSE("(%s/%s)\n", dentry->d_parent->d_name.name, |
246 | file->f_dentry->d_name.name); | 246 | file->f_path.dentry->d_name.name); |
247 | 247 | ||
248 | /* | 248 | /* |
249 | * Directory timestamps in the core protocol aren't updated | 249 | * Directory timestamps in the core protocol aren't updated |