Commit 20f45ad5 authored by Al Viro's avatar Al Viro
Browse files

spufs: constify path

parent ea4af4aa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ spufs_mkdir(struct inode *dir, struct dentry *dentry, unsigned int flags,
	return ret;
}

static int spufs_context_open(struct path *path)
static int spufs_context_open(const struct path *path)
{
	int ret;
	struct file *filp;
@@ -491,7 +491,7 @@ spufs_mkgang(struct inode *dir, struct dentry *dentry, umode_t mode)
	return ret;
}

static int spufs_gang_open(struct path *path)
static int spufs_gang_open(const struct path *path)
{
	int ret;
	struct file *filp;
@@ -536,7 +536,7 @@ static int spufs_create_gang(struct inode *inode,

static struct file_system_type spufs_type;

long spufs_create(struct path *path, struct dentry *dentry,
long spufs_create(const struct path *path, struct dentry *dentry,
		unsigned int flags, umode_t mode, struct file *filp)
{
	struct inode *dir = d_inode(path->dentry);
+1 −1
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ extern const struct spufs_tree_descr spufs_dir_debug_contents[];
extern struct spufs_calls spufs_calls;
struct coredump_params;
long spufs_run_spu(struct spu_context *ctx, u32 *npc, u32 *status);
long spufs_create(struct path *nd, struct dentry *dentry, unsigned int flags,
long spufs_create(const struct path *nd, struct dentry *dentry, unsigned int flags,
			umode_t mode, struct file *filp);
/* ELF coredump callbacks for writing SPU ELF notes */
extern int spufs_coredump_extra_notes_size(void);