[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071012160635.15119.49014.stgit@warthog.procyon.org.uk>
Date: Fri, 12 Oct 2007 17:06:36 +0100
From: David Howells <dhowells@...hat.com>
To: viro@....linux.org.uk
Cc: kwc@...i.umich.edu, Trond.Myklebust@...app.com,
linux-kernel@...r.kernel.org, dhowells@...hat.com
Subject: [PATCH 15/52] CRED: Make Ext3 use the writeback credentials
Make Ext3 use the writeback credentials when performing writebacks.
Signed-off-by: David Howells <dhowells@...hat.com>
---
fs/ext3/inode.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c
index d7e1390..73b64f3 100644
--- a/fs/ext3/inode.c
+++ b/fs/ext3/inode.c
@@ -1526,7 +1526,7 @@ static int ext3_journalled_writepage(struct page *page,
struct writeback_control *wbc)
{
struct inode *inode = page->mapping->host;
- struct cred *cred = current->cred;
+ struct cred *cred = &writeback_cred;
handle_t *handle = NULL;
int ret = 0;
int err;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists