summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/symlink.c
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2008-04-18 10:23:53 -0700
committerMark Fasheh <mfasheh@suse.com>2008-04-30 17:09:54 -0700
commitbc535809c06ada210d89f5a43b335c68ecbb8e1b (patch)
tree3186b9d590a06d17a7026680fba57546e0d0c418 /fs/ocfs2/symlink.c
parent95642e56647d84963428a1168baa8a73cb782ac3 (diff)
downloadop-kernel-dev-bc535809c06ada210d89f5a43b335c68ecbb8e1b.zip
op-kernel-dev-bc535809c06ada210d89f5a43b335c68ecbb8e1b.tar.gz
ocfs2: Allow uid/gid/perm changes of symlinks
This patch adds the ability to change attributes of a symlink. Fixes oss bugzilla#963 http://oss.oracle.com/bugzilla/show_bug.cgi?id=963 Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
Diffstat (limited to 'fs/ocfs2/symlink.c')
-rw-r--r--fs/ocfs2/symlink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ocfs2/symlink.c b/fs/ocfs2/symlink.c
index 7134007..ba9dbb5 100644
--- a/fs/ocfs2/symlink.c
+++ b/fs/ocfs2/symlink.c
@@ -167,9 +167,11 @@ const struct inode_operations ocfs2_symlink_inode_operations = {
.readlink = page_readlink,
.follow_link = ocfs2_follow_link,
.getattr = ocfs2_getattr,
+ .setattr = ocfs2_setattr,
};
const struct inode_operations ocfs2_fast_symlink_inode_operations = {
.readlink = ocfs2_readlink,
.follow_link = ocfs2_follow_link,
.getattr = ocfs2_getattr,
+ .setattr = ocfs2_setattr,
};
OpenPOWER on IntegriCloud