diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-05-17 13:18:58 +0200 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-05-17 22:59:21 +0200 |
commit | 4065c802da7484fa36f8cdf10f18d087233ecb88 (patch) | |
tree | a81d1dae07945ce0e6afb22e87c65fe9a0d44be1 /fs/cifs/cifsproto.h | |
parent | cifs: don't update uniqueid in cifs_fattr_to_inode (diff) | |
download | linux-4065c802da7484fa36f8cdf10f18d087233ecb88.tar.xz linux-4065c802da7484fa36f8cdf10f18d087233ecb88.zip |
cifs: fix noserverino handling when unix extensions are enabled
The uniqueid field sent by the server when unix extensions are enabled
is currently used sometimes when it shouldn't be. The readdir codepath
is correct, but most others are not. Fix it.
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsproto.h')
-rw-r--r-- | fs/cifs/cifsproto.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/cifsproto.h b/fs/cifs/cifsproto.h index 2e07da9a46fa..fb1657e0fdb8 100644 --- a/fs/cifs/cifsproto.h +++ b/fs/cifs/cifsproto.h @@ -110,6 +110,7 @@ extern int cifs_posix_open(char *full_path, struct inode **pinode, struct super_block *sb, int mode, int oflags, __u32 *poplock, __u16 *pnetfid, int xid); +void cifs_fill_uniqueid(struct super_block *sb, struct cifs_fattr *fattr); extern void cifs_unix_basic_to_fattr(struct cifs_fattr *fattr, FILE_UNIX_BASIC_INFO *info, struct cifs_sb_info *cifs_sb); |