]> Git Repo - linux.git/blobdiff - fs/nfs/mount_clnt.c
[PATCH] cpuset memory spread: slab cache filesystems
[linux.git] / fs / nfs / mount_clnt.c
index 0e82617f2de0616c06fbaef233dd5e6bbea397e6..0b9a78353d6ef80c6dcf1de67dfab382fd239344 100644 (file)
@@ -82,7 +82,6 @@ mnt_create(char *hostname, struct sockaddr_in *srvaddr, int version,
                                RPC_AUTH_UNIX);
        if (!IS_ERR(clnt)) {
                clnt->cl_softrtry = 1;
-               clnt->cl_chatty   = 1;
                clnt->cl_oneshot  = 1;
                clnt->cl_intr = 1;
        }
@@ -175,7 +174,7 @@ static struct rpc_stat              mnt_stats;
 static struct rpc_program      mnt_program = {
        .name           = "mount",
        .number         = NFS_MNT_PROGRAM,
-       .nrvers         = sizeof(mnt_version)/sizeof(mnt_version[0]),
+       .nrvers         = ARRAY_SIZE(mnt_version),
        .version        = mnt_version,
        .stats          = &mnt_stats,
 };
This page took 0.034402 seconds and 4 git commands to generate.