diff options
author | Suresh Jayaraman <sjayaraman@suse.de> | 2008-08-05 14:38:40 +0530 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-08-05 16:51:53 +0000 |
commit | 9e96af8525264973d8d1f800b0ddce0289fc0bdd (patch) | |
tree | 4c48c85bcef749ed5aa27629276aeec0f377672e /fs/cifs/inode.c | |
parent | 93d0ec851820688ef5b21a84e7460d3cf405f5c5 (diff) |
Fix missing braces in cifs_revalidate()
Fix missing braces introduced during commit
cea218054ad277d6c126890213afde07b4eb1602. Though setting wbrc to 0
keeps this from causing real bug, this should have been there.
Acked-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/inode.c')
-rw-r--r-- | fs/cifs/inode.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 46e54d39461..0e5dccc2f79 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c @@ -1310,10 +1310,11 @@ int cifs_revalidate(struct dentry *direntry) /* if (S_ISDIR(direntry->d_inode->i_mode)) shrink_dcache_parent(direntry); */ if (S_ISREG(direntry->d_inode->i_mode)) { - if (direntry->d_inode->i_mapping) + if (direntry->d_inode->i_mapping) { wbrc = filemap_fdatawait(direntry->d_inode->i_mapping); if (wbrc) CIFS_I(direntry->d_inode)->write_behind_rc = wbrc; + } /* may eventually have to do this for open files too */ if (list_empty(&(cifsInode->openFileList))) { /* changed on server - flush read ahead pages */ |