linux/fs/coda/coda_linux.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Inode operations for Coda filesystem
 * Original version: (C) 1996 P. Braam and M. Callahan
 * Rewritten for Linux 2.1. (C) 1997 Carnegie Mellon University
 * 
 * Carnegie Mellon encourages users to contribute improvements to
 * the Coda project. Contact Peter Braam ([email protected]).
 */

#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/time.h>
#include <linux/fs.h>
#include <linux/stat.h>
#include <linux/errno.h>
#include <linux/uaccess.h>
#include <linux/string.h>

#include <linux/coda.h>
#include "coda_psdev.h"
#include "coda_linux.h"

/* initialize the debugging variables */
int coda_fake_statfs;

/* print a fid */
char * coda_f2s(struct CodaFid *f)
{}

/* recognize special .CONTROL name */
int coda_iscontrol(const char *name, size_t length)
{}

unsigned short coda_flags_to_cflags(unsigned short flags)
{}

static struct timespec64 coda_to_timespec64(struct coda_timespec ts)
{}

static struct coda_timespec timespec64_to_coda(struct timespec64 ts64)
{}

/* utility functions below */
umode_t coda_inode_type(struct coda_vattr *attr)
{}

void coda_vattr_to_iattr(struct inode *inode, struct coda_vattr *attr)
{}


/* 
 * BSD sets attributes that need not be modified to -1. 
 * Linux uses the valid field to indicate what should be
 * looked at.  The BSD type field needs to be deduced from linux 
 * mode.
 * So we have to do some translations here.
 */

void coda_iattr_to_vattr(struct iattr *iattr, struct coda_vattr *vattr)
{}