All of lore.kernel.org
 help / color / mirror / Atom feed
* - hugetlb-allow-sticky-directory-mount-option.patch removed from -mm tree
@ 2008-02-05 22:29 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2008-02-05 22:29 UTC (permalink / raw)
  To: kenchen, agl, hermes, pbadari, wli, mm-commits


The patch titled
     hugetlb: allow sticky directory mount option
has been removed from the -mm tree.  Its filename was
     hugetlb-allow-sticky-directory-mount-option.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: hugetlb: allow sticky directory mount option
From: "Ken Chen" <kenchen@google.com>

Allow sticky directory mount option for hugetlbfs.  This allows admin
to create a shared hugetlbfs mount point for multiple users, while
prevent accidental file deletion that users may step on each other.
It is similiar to default tmpfs mount option, or typical option used
on /tmp.

Signed-off-by: Ken Chen <kenchen@google.com>
Cc: Badari Pulavarty <pbadari@us.ibm.com>
Cc: Adam Litke <agl@us.ibm.com>
Cc: David Gibson <hermes@gibson.dropbear.id.au>
Cc: William Lee Irwin III <wli@holomorphy.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 fs/hugetlbfs/inode.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/hugetlbfs/inode.c~hugetlb-allow-sticky-directory-mount-option fs/hugetlbfs/inode.c
--- a/fs/hugetlbfs/inode.c~hugetlb-allow-sticky-directory-mount-option
+++ a/fs/hugetlbfs/inode.c
@@ -768,7 +768,7 @@ hugetlbfs_parse_options(char *options, s
 		case Opt_mode:
 			if (match_octal(&args[0], &option))
  				goto bad_val;
-			pconfig->mode = option & 0777U;
+			pconfig->mode = option & 01777U;
 			break;
 
 		case Opt_size: {
_

Patches currently in -mm which might be from kenchen@google.com are

origin.patch
mount-options-fix-hugetlbfs.patch

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-05 22:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-05 22:29 - hugetlb-allow-sticky-directory-mount-option.patch removed from -mm tree akpm

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.