search for: smb_revalidate_inod

Displaying 7 results from an estimated 7 matches for "smb_revalidate_inod".

Did you mean: smb_revalidate_inode
2001 Apr 05
1
[Fwd: smbmount problems]
BTW, I am using samba-client-2.0.7-4 and Redhat Linux 6.1 (linux 2.2.12-20). -Sudheer Sudheer Tumuluru wrote: > Hi, > I have an NT machine running an application which refreshes a > text file every minute or so with fresh data. The directory containing > this file is shared so that I can do an smbmount. I have a linux machine > which runs a program to interpret this file.
2005 Jan 04
0
[2.6 patch] smbfs: make some functions static
...rver); extern void smb_install_null_ops(struct smb_ops *ops); /* dir.c */ extern struct file_operations smb_dir_operations; @@ -62,7 +60,6 @@ extern void smb_set_inode_attr(struct inode *inode, struct smb_fattr *fattr); extern void smb_invalidate_inodes(struct smb_sb_info *server); extern int smb_revalidate_inode(struct dentry *dentry); -extern int smb_fill_super(struct super_block *sb, void *raw_data, int silent); extern int smb_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat); extern int smb_notify_change(struct dentry *dentry, struct iattr *attr); /* file.c */ @@ -81,10 +78,8...
2004 Dec 19
0
[2.6 patch] remove outdated smbfs ChangeLog
...14 Urban Widmark <urban@svenskatest.se> - - * dir.c: support case sensitive shares - * inode.c: ascii mount options - * proc.c: check length of paths to avoid buffer overflow - * proc.c: don't do interruptable_sleep in smb_retry to avoid signal - problem/race. - * proc.c: O_RDONLY & smb_revalidate_inode fix (tail -f) - * proc.c: add nls support - * sock.c: attempt to fix smb_data_callback (avoid infinite loop) - -2000-07-25 Urban Widmark <urban@svenskatest.se> - - * proc.c: fix 3 places where bad server responses could cause an Oops. - -2000-07-15 Urban Widmark <urban@svenskatest.se>...
2005 Jan 08
0
[2.6 patch] remove outdated smbfs ChangeLog (fwd)
...14 Urban Widmark <urban@svenskatest.se> - - * dir.c: support case sensitive shares - * inode.c: ascii mount options - * proc.c: check length of paths to avoid buffer overflow - * proc.c: don't do interruptable_sleep in smb_retry to avoid signal - problem/race. - * proc.c: O_RDONLY & smb_revalidate_inode fix (tail -f) - * proc.c: add nls support - * sock.c: attempt to fix smb_data_callback (avoid infinite loop) - -2000-07-25 Urban Widmark <urban@svenskatest.se> - - * proc.c: fix 3 places where bad server responses could cause an Oops. - -2000-07-15 Urban Widmark <urban@svenskatest.se>...
1998 Sep 04
0
Linux SMB Mount utils patch
...+int smb_ioctl (struct inode *, struct file *, unsigned int, unsigned long); + +/* linux/fs/smbfs/inode.c */ +struct super_block *smb_read_super(struct super_block *, void *, int); +void smb_get_inode_attr(struct inode *, struct smb_fattr *); +void smb_invalidate_inodes(struct smb_sb_info *); +int smb_revalidate_inode(struct dentry *); +int smb_notify_change(struct dentry *, struct iattr *); +unsigned long smb_invent_inos(unsigned long); +struct inode *smb_iget(struct super_block *, struct smb_fattr *); +extern int init_smb_fs(void); + +/* linux/fs/smbfs/proc.c */ +__u32 smb_len(unsigned char *); +__u8 *smb_en...
2000 Jun 28
1
[Patch] Shorter patch for smbfs 2.2.16
...if (server->opt.protocol < SMB_PROTOCOL_LANMAN2) + { + unsigned long age = jiffies - dir->u.smbfs_i.oldmtime; + if (age > 2*HZ) + smb_invalid_dir_cache(dir); + } if (server->conn_pid) error = smb_revalidate_inode(dentry); @@ -420,6 +430,7 @@ dentry->d_parent->d_name.name, dentry->d_name.name, mode); #endif + smb_invalid_dir_cache(dir); error = smb_proc_create(dentry, 0, CURRENT_TIME, &fileid); if (!error) { @@ -440,6 +451,7 @@ { int error; + smb...
2003 Dec 01
0
No subject
...= SMB_O_RDONLY; UB> It's the only difference in this part of the code since 2.2.7, but I think UB> it is ok. I check the source code on 2.2.19 and now looks like: #if 0 /* FIXME: why is this code not in? below we fix it so that a caller wanting RO doesn't get RW. smb_revalidate_inode does some optimization based on access mode. tail -f needs it to be correct. */ if (!(wish & (O_WRONLY | O_RDWR))) mode = read_only; #endif So the secction was removed, but I still have the problem..... Any help it could be greatly !!! ----- Hardy Beltran...