[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20120722154409.91ab34376657bc89b4ec1edc@canb.auug.org.au>
Date: Sun, 22 Jul 2012 15:44:09 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
Justin Lecher <jlec@...too.org>,
Suresh Jayaraman <sjayaraman@...e.com>,
Al Viro <viro@...iv.linux.org.uk>
Subject: linux-next: manual merge of the akpm tree with the vfs tree
Hi Andrew,
Today's linux-next merge of the akpm tree got a conflict in
fs/cachefiles/rdwr.c between commit e89cdeffe531 ("switch dentry_open()
to struct path, make it grab references itself") from the vfs, tree and
commit "fs: cachefiles: add support for large files in filesystem
caching" from the akpm tree.
I fixed it up (and rolled in the following build fix - see below) and can
carry the fix as necessary.
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
diff --cc fs/cachefiles/rdwr.c
index c0353df,d136686..0000000
--- a/fs/cachefiles/rdwr.c
+++ b/fs/cachefiles/rdwr.c
@@@ -917,9 -916,10 +917,9 @@@ int cachefiles_write_page(struct fscach
/* write the page to the backing filesystem and let it store it in its
* own time */
- dget(object->backer);
- mntget(cache->mnt);
- file = dentry_open(object->backer, cache->mnt, O_RDWR,
- (O_RDWR | O_LARGEFILE), cache->cache_cred);
+ path.mnt = cache->mnt;
+ path.dentry = object->backer;
- file = dentry_open(&path, O_RDWR, cache->cache_cred);
++ file = dentry_open(&path, O_RDWR | O_LARGEFILE, cache->cache_cred);
if (IS_ERR(file)) {
ret = PTR_ERR(file);
} else {
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists