* [PATCH] remove extraneous security_inode_setattr call in hugetlbfs
@ 2004-06-28 19:49 Chris Wright
0 siblings, 0 replies; only message in thread
From: Chris Wright @ 2004-06-28 19:49 UTC (permalink / raw)
To: akpm, torvalds; +Cc: wli, linux-kernel
remove extraneous security_inode_setattr call in hugetlbfs, it's already
done by VFS.
Signed-off-by: Chris Wright <chrisw@osdl.org>
===== fs/hugetlbfs/inode.c 1.47 vs edited =====
--- 1.47/fs/hugetlbfs/inode.c 2004-05-22 14:56:28 -07:00
+++ edited/fs/hugetlbfs/inode.c 2004-06-25 19:37:34 -07:00
@@ -329,9 +329,6 @@
if (error)
goto out;
- error = security_inode_setattr(dentry, attr);
- if (error)
- goto out;
if (ia_valid & ATTR_SIZE) {
error = -EINVAL;
if (!(attr->ia_size & ~HPAGE_MASK))
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-06-28 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-28 19:49 [PATCH] remove extraneous security_inode_setattr call in hugetlbfs Chris Wright
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.