#ifdef CONFIG_NFS_V3_ACL if (!(server->flags & NFS_MOUNT_NOACL)) { server->client_acl = rpc_bind_new_program(server->client, &nfsacl_program, 3); /* No errors! Assume that Sun nfsacls are supported */ if (!IS_ERR(server->client_acl)) server->caps |= NFS_CAP_ACLS; } #else server->flags &= ~NFS_MOUNT_NOACL; #endif /* CONFIG_NFS_V3_ACL */ 
nfs_fill_super(struct super_block *sb, struct nfs_mount_data *data, int silent){	struct nfs_server	*server;	rpc_authflavor_t	authflavor;	server           = NFS_SB(sb);	sb->s_blocksize_bits = 0;	sb->s_blocksize = 0;	if (data->bsize)		sb->s_blocksize = nfs_block_size(data->bsize, &sb->s_blocksize_bits);	if (data->rsize)		server->rsize = nfs_block_size(data->rsize, NULL);	if (data->wsize)		server->wsize = nfs_block_size(data->wsize, NULL);	server->flags    = data->flags & NFS_MOUNT_FLAGMASK;	server->acregmin = data->acregmin*HZ;	server->acregmax = data->acregmax*HZ;	server->acdirmin = data->acdirmin*HZ;	server->acdirmax = data->acdirmax*HZ;	/* Start lockd here, before we might error out */	if (!(server->flags & NFS_MOUNT_NONLM))		lockd_up();	server->namelen  = data->namlen;	server->hostname = kmalloc(strlen(data->hostname) + 1, GFP_KERNEL);	if (!server->hostname)		return -ENOMEM;	strcpy(server->hostname, data->hostname);	/* Check NFS protocol revision and initialize RPC op vector	 * and file handle pool. */#ifdef CONFIG_NFS_V3	if (server->flags & NFS_MOUNT_VER3) {		server->rpc_ops = &nfs_v3_clientops;		server->caps |= NFS_CAP_READDIRPLUS;	} else {		server->rpc_ops = &nfs_v2_clientops;	}#else	server->rpc_ops = &nfs_v2_clientops;#endif	/* Fill in pseudoflavor for mount version < 5 */	if (!(data->flags & NFS_MOUNT_SECFLAVOUR))		data->pseudoflavor = RPC_AUTH_UNIX;	authflavor = data->pseudoflavor;	/* save for sb_init() */	/* XXX maybe we want to add a server->pseudoflavor field */	/* Create RPC client handles */	server->client = nfs_create_client(server, data);	if (IS_ERR(server->client))		return PTR_ERR(server->client);	/* RFC 2623, sec 2.3.2 */	if (authflavor != RPC_AUTH_UNIX) {		struct rpc_auth *auth;		server->client_sys = rpc_clone_client(server->client);		if (IS_ERR(server->client_sys))			return PTR_ERR(server->client_sys);		auth = rpcauth_create(RPC_AUTH_UNIX, server->client_sys);		if (IS_ERR(auth))			return PTR_ERR(auth);	} else {		atomic_inc(&server->client->cl_count);		server->client_sys = server->client;	}	if (server->flags & NFS_MOUNT_VER3) {		if (server->namelen == 0 || server->namelen > NFS3_MAXNAMLEN)			server->namelen = NFS3_MAXNAMLEN;		sb->s_time_gran = 1;	} else {		if (server->namelen == 0 || server->namelen > NFS2_MAXNAMLEN)			server->namelen = NFS2_MAXNAMLEN;	}	sb->s_op = &nfs_sops;	return nfs_sb_init(sb, authflavor);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/b7fa0554cf1ba6d6895cd0a5b02989a26e0bc704/inode.c/buggy/fs/nfs/inode.c