From f39047562dfab08497b44e9f74517027a1e51cec Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Sat, 9 Jul 2011 12:21:07 -0400 Subject: [PATCH] --- yaml --- r: 254828 b: refs/heads/master c: 20547490c12b0ee3d32152b85e9f9bd183aa7224 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/cifs/connect.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 6a000997145d..cc531eb1ceb6 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 04db79b015dafcb79371fda6b5c32ffdbd31a2ff +refs/heads/master: 20547490c12b0ee3d32152b85e9f9bd183aa7224 diff --git a/trunk/fs/cifs/connect.c b/trunk/fs/cifs/connect.c index 46cc0ad03487..511176903e57 100644 --- a/trunk/fs/cifs/connect.c +++ b/trunk/fs/cifs/connect.c @@ -3002,6 +3002,7 @@ cifs_mount(struct cifs_sb_info *cifs_sb, struct smb_vol *volume_info) struct tcon_link *tlink; #ifdef CONFIG_CIFS_DFS_UPCALL int referral_walks_count = 0; +#endif rc = bdi_setup_and_register(&cifs_sb->bdi, "cifs", BDI_CAP_MAP_COPY); if (rc) @@ -3009,6 +3010,7 @@ cifs_mount(struct cifs_sb_info *cifs_sb, struct smb_vol *volume_info) cifs_sb->bdi.ra_pages = default_backing_dev_info.ra_pages; +#ifdef CONFIG_CIFS_DFS_UPCALL try_mount_again: /* cleanup activities if we're chasing a referral */ if (referral_walks_count) {