dir.c (18bb1db3e7607e4a997d50991a6f9fa5b0f8722c) | dir.c (4acdaf27ebe2034c342f3be57ef49aed1ad885ef) |
---|---|
1/* 2 * OMFS (as used by RIO Karma) directory operations. 3 * Copyright (C) 2005 Bob Copeland <me@bobcopeland.com> 4 * Released under GPL v2. 5 */ 6 7#include <linux/fs.h> 8#include <linux/ctype.h> --- 270 unchanged lines hidden (view full) --- 279 return err; 280} 281 282static int omfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) 283{ 284 return omfs_add_node(dir, dentry, mode | S_IFDIR); 285} 286 | 1/* 2 * OMFS (as used by RIO Karma) directory operations. 3 * Copyright (C) 2005 Bob Copeland <me@bobcopeland.com> 4 * Released under GPL v2. 5 */ 6 7#include <linux/fs.h> 8#include <linux/ctype.h> --- 270 unchanged lines hidden (view full) --- 279 return err; 280} 281 282static int omfs_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) 283{ 284 return omfs_add_node(dir, dentry, mode | S_IFDIR); 285} 286 |
287static int omfs_create(struct inode *dir, struct dentry *dentry, int mode, | 287static int omfs_create(struct inode *dir, struct dentry *dentry, umode_t mode, |
288 struct nameidata *nd) 289{ 290 return omfs_add_node(dir, dentry, mode | S_IFREG); 291} 292 293static struct dentry *omfs_lookup(struct inode *dir, struct dentry *dentry, 294 struct nameidata *nd) 295{ --- 180 unchanged lines hidden --- | 288 struct nameidata *nd) 289{ 290 return omfs_add_node(dir, dentry, mode | S_IFREG); 291} 292 293static struct dentry *omfs_lookup(struct inode *dir, struct dentry *dentry, 294 struct nameidata *nd) 295{ --- 180 unchanged lines hidden --- |