mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
get rid of assorted nameidata-related debris
pointless forward declarations, stale comments Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
322105e2fe
commit
89076bc319
7 changed files with 5 additions and 9 deletions
|
@ -1226,8 +1226,7 @@ ino_t v9fs_qid2ino(struct p9_qid *qid)
|
||||||
/**
|
/**
|
||||||
* v9fs_vfs_follow_link - follow a symlink path
|
* v9fs_vfs_follow_link - follow a symlink path
|
||||||
* @dentry: dentry for symlink
|
* @dentry: dentry for symlink
|
||||||
* @nd: nameidata
|
* @cookie: place to pass the data to put_link()
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static const char *v9fs_vfs_follow_link(struct dentry *dentry, void **cookie)
|
static const char *v9fs_vfs_follow_link(struct dentry *dentry, void **cookie)
|
||||||
|
|
|
@ -905,8 +905,7 @@ error:
|
||||||
/**
|
/**
|
||||||
* v9fs_vfs_follow_link_dotl - follow a symlink path
|
* v9fs_vfs_follow_link_dotl - follow a symlink path
|
||||||
* @dentry: dentry for symlink
|
* @dentry: dentry for symlink
|
||||||
* @nd: nameidata
|
* @cookie: place to pass the data to put_link()
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
|
|
|
@ -170,7 +170,6 @@ out_unlock:
|
||||||
* @directory_inode: inode of the new file's dentry's parent in ecryptfs
|
* @directory_inode: inode of the new file's dentry's parent in ecryptfs
|
||||||
* @ecryptfs_dentry: New file's dentry in ecryptfs
|
* @ecryptfs_dentry: New file's dentry in ecryptfs
|
||||||
* @mode: The mode of the new file
|
* @mode: The mode of the new file
|
||||||
* @nd: nameidata of ecryptfs' parent's dentry & vfsmount
|
|
||||||
*
|
*
|
||||||
* Creates the underlying file and the eCryptfs inode which will link to
|
* Creates the underlying file and the eCryptfs inode which will link to
|
||||||
* it. It will also update the eCryptfs directory inode to mimic the
|
* it. It will also update the eCryptfs directory inode to mimic the
|
||||||
|
@ -384,7 +383,7 @@ static int ecryptfs_lookup_interpose(struct dentry *dentry,
|
||||||
* ecryptfs_lookup
|
* ecryptfs_lookup
|
||||||
* @ecryptfs_dir_inode: The eCryptfs directory inode
|
* @ecryptfs_dir_inode: The eCryptfs directory inode
|
||||||
* @ecryptfs_dentry: The eCryptfs dentry that we are looking up
|
* @ecryptfs_dentry: The eCryptfs dentry that we are looking up
|
||||||
* @ecryptfs_nd: nameidata; may be NULL
|
* @flags: lookup flags
|
||||||
*
|
*
|
||||||
* Find a file on disk. If the file does not exist, then we'll add it to the
|
* Find a file on disk. If the file does not exist, then we'll add it to the
|
||||||
* dentry cache and continue on to read it from the disk.
|
* dentry cache and continue on to read it from the disk.
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
* ntfs_lookup - find the inode represented by a dentry in a directory inode
|
* ntfs_lookup - find the inode represented by a dentry in a directory inode
|
||||||
* @dir_ino: directory inode in which to look for the inode
|
* @dir_ino: directory inode in which to look for the inode
|
||||||
* @dent: dentry representing the inode to look for
|
* @dent: dentry representing the inode to look for
|
||||||
* @nd: lookup nameidata
|
* @flags: lookup flags
|
||||||
*
|
*
|
||||||
* In short, ntfs_lookup() looks for the inode represented by the dentry @dent
|
* In short, ntfs_lookup() looks for the inode represented by the dentry @dent
|
||||||
* in the directory inode @dir_ino and if found attaches the inode to the
|
* in the directory inode @dir_ino and if found attaches the inode to the
|
||||||
|
|
|
@ -38,7 +38,6 @@ struct backing_dev_info;
|
||||||
struct export_operations;
|
struct export_operations;
|
||||||
struct hd_geometry;
|
struct hd_geometry;
|
||||||
struct iovec;
|
struct iovec;
|
||||||
struct nameidata;
|
|
||||||
struct kiocb;
|
struct kiocb;
|
||||||
struct kobject;
|
struct kobject;
|
||||||
struct pipe_inode_info;
|
struct pipe_inode_info;
|
||||||
|
|
|
@ -7,7 +7,6 @@
|
||||||
#include <linux/path.h>
|
#include <linux/path.h>
|
||||||
|
|
||||||
struct vfsmount;
|
struct vfsmount;
|
||||||
struct nameidata;
|
|
||||||
|
|
||||||
enum { MAX_NESTED_LINKS = 8 };
|
enum { MAX_NESTED_LINKS = 8 };
|
||||||
|
|
||||||
|
|
|
@ -132,6 +132,7 @@ struct fs_struct;
|
||||||
struct perf_event_context;
|
struct perf_event_context;
|
||||||
struct blk_plug;
|
struct blk_plug;
|
||||||
struct filename;
|
struct filename;
|
||||||
|
struct nameidata;
|
||||||
|
|
||||||
#define VMACACHE_BITS 2
|
#define VMACACHE_BITS 2
|
||||||
#define VMACACHE_SIZE (1U << VMACACHE_BITS)
|
#define VMACACHE_SIZE (1U << VMACACHE_BITS)
|
||||||
|
|
Loading…
Add table
Reference in a new issue