diff options
author | Jeff Layton <jlayton@redhat.com> | 2010-05-17 07:18:58 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2010-05-17 20:59:21 +0000 |
commit | 4065c802da7484fa36f8cdf10f18d087233ecb88 (patch) | |
tree | a81d1dae07945ce0e6afb22e87c65fe9a0d44be1 /fs/cifs/dir.c | |
parent | 84f30c66c3689745abbd3b9ce39816caeb9bec3b (diff) | |
download | linux-4065c802da7484fa36f8cdf10f18d087233ecb88.tar.bz2 |
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/dir.c')
-rw-r--r-- | fs/cifs/dir.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index 86d3c0c82f25..391816b461ca 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c @@ -248,6 +248,7 @@ int cifs_posix_open(char *full_path, struct inode **pinode, /* get new inode and set it up */ if (*pinode == NULL) { + cifs_fill_uniqueid(sb, &fattr); *pinode = cifs_iget(sb, &fattr); if (!*pinode) { rc = -ENOMEM; |