lkml.org 
[lkml]   [2004]   [Jun]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] remove extraneous security_inode_setattr call in hugetlbfs
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))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.031 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site