summaryrefslogtreecommitdiff
path: root/fs/gfs2/inode.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2011-05-13 13:34:59 +0400
committerSteven Whitehouse <swhiteho@redhat.com>2011-05-13 13:34:59 +0400
commit160b4026dc3e75c0693d0123eca805e88cd200b6 (patch)
tree32aa1a6e23b09be65cabdbcd6be2a8fc3d50527f /fs/gfs2/inode.h
parente2d0a13bba051d7a9618b0952d91fac68175a71a (diff)
downloadlinux-160b4026dc3e75c0693d0123eca805e88cd200b6.tar.xz
GFS2: Clean up symlink creation
This moves the symlink specific parts of inode creation into the function where we initialise the rest of the dinode. As a result we have one less place where we need to look up the inode's buffer. Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.h')
-rw-r--r--fs/gfs2/inode.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/inode.h b/fs/gfs2/inode.h
index 7ed60aa1b61f..31606076f701 100644
--- a/fs/gfs2/inode.h
+++ b/fs/gfs2/inode.h
@@ -108,9 +108,6 @@ extern int gfs2_inode_refresh(struct gfs2_inode *ip);
extern struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name,
int is_root);
-extern struct inode *gfs2_createi(struct gfs2_holder *ghs,
- const struct qstr *name,
- unsigned int mode, dev_t dev);
extern int gfs2_permission(struct inode *inode, int mask, unsigned int flags);
extern int gfs2_setattr_simple(struct gfs2_inode *ip, struct iattr *attr);
extern struct inode *gfs2_lookup_simple(struct inode *dip, const char *name);