diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-05-22 05:54:50 -0400 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2009-05-22 05:54:50 -0400 |
commit | 87ec21741138bb42e7f943bb142b1d8567c10925 (patch) | |
tree | d173754b440f7b14b2b29334ac7addc4b9621286 /fs/gfs2/inode.h | |
parent | 536baf02f650f4547f105386878b4736fbc181e8 (diff) |
GFS2: Move gfs2_unlink_ok into ops_inode.c
Another function which is only called from one ops_inode.c so
we move it and make it static.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Diffstat (limited to 'fs/gfs2/inode.h')
-rw-r--r-- | fs/gfs2/inode.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/gfs2/inode.h b/fs/gfs2/inode.h index fc9a08f45be7..c341aaf67adb 100644 --- a/fs/gfs2/inode.h +++ b/fs/gfs2/inode.h | |||
@@ -96,8 +96,6 @@ extern struct inode *gfs2_lookupi(struct inode *dir, const struct qstr *name, | |||
96 | extern struct inode *gfs2_createi(struct gfs2_holder *ghs, | 96 | extern struct inode *gfs2_createi(struct gfs2_holder *ghs, |
97 | const struct qstr *name, | 97 | const struct qstr *name, |
98 | unsigned int mode, dev_t dev); | 98 | unsigned int mode, dev_t dev); |
99 | extern int gfs2_unlink_ok(struct gfs2_inode *dip, const struct qstr *name, | ||
100 | const struct gfs2_inode *ip); | ||
101 | extern int gfs2_permission(struct inode *inode, int mask); | 99 | extern int gfs2_permission(struct inode *inode, int mask); |
102 | extern int gfs2_setattr_simple(struct gfs2_inode *ip, struct iattr *attr); | 100 | extern int gfs2_setattr_simple(struct gfs2_inode *ip, struct iattr *attr); |
103 | extern struct inode *gfs2_lookup_simple(struct inode *dip, const char *name); | 101 | extern struct inode *gfs2_lookup_simple(struct inode *dip, const char *name); |