x86_64 or usermode Linux (and probably
others):
include/linux/irqnr.h:4:30: fatal error: uapi/linux/irqnr.h: No such file or
directory
Signed-off-by: David Howells dhowe...@redhat.com
cc: Randy Dunlap rdun...@xenotime.net
cc: Alessandro Suardi alessandro.sua...@gmail.com
---
include/uapi/linux
Stanislav Kinsbursky skinsbur...@parallels.com wrote:
+CFLAGS += -I../../../../arch/x86/include/generated/
+CFLAGS += -I../../../../include/
+CFLAGS += -I../../../../usr/include/
+CFLAGS += -I../../../../arch/x86/include/
Do you need to add uapi/ into some of these?
David
--
To unsubscribe
it doesn't matter which way round they're
packed from that point of view.
Signed-off-by: David Howells dhowe...@redhat.com
Acked-by: Al Viro v...@zeniv.linux.org.uk
---
arch/frv/kernel/entry.S |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/frv/kernel/entry.S b/arch
-m68k.org
Signed-off-by: Andi Kleen a...@linux.intel.com
Signed-off-by: David Howells dhowe...@redhat.com
cc: Geert Uytterhoeven ge...@linux-m68k.org
---
arch/frv/kernel/setup.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/frv/kernel/setup.c b/arch/frv/kernel/setup.c
index 1f1e5ef
incorrectly guarded bits back to the kernelspace header.
Whilst we're at it, the __KERNEL__ guards can be deleted as they're no longer
necessary.
Reported-by: Fengguang Wu fengguang...@intel.com
Reported-by: Lars-Peter Clausen l...@metafoo.de
Signed-off-by: David Howells dhowe...@redhat.com
cc
once
arch/frv/kernel/process.c:197: error: for each function it appears in.)
m
Reported-by: Geert Uytterhoeven ge...@linux-m68k.org
Signed-off-by: David Howells dhowe...@redhat.com
Acked-by: Al Viro v...@zeniv.linux.org.uk
cc: Geert Uytterhoeven ge...@linux-m68k.org
---
arch/frv/kernel
David Sharp dhsh...@google.com wrote:
Please use the Kbuild infrastructure (generic-y += ... in
arch/*/include/asm/Kbuild)
instead of adding wrappers around the asm-generic version.
mips apparently recencly got rid of arch/mips/include/asm/Kbuild.
It didn't. However, if you use patch
James Bottomley james.bottom...@hansenpartnership.com wrote:
I'm getting a fairly massive merge failure over our misc tree:
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.0 misc
It looks like a conflict with the motion to using wrappered Kbuild for
our asm-generic clones.
I
2012-10-16
David Howells (2):
Merge branch 'misc' of git://git.kernel.org/.../jejb/parisc-2.6.git/
UAPI: (Scripted) Disintegrate arch/parisc/include/asm
James Bottomley (1):
[PARISC] asm: redo generic includes
Luis R. Rodriguez mcg...@do-not-panic.com wrote:
The include_next trick can work as well but that'd mean synching the UAPI
files regularly into compat. I'd much prefer to have code intact when
possible when backporting so the option I stuck with then was to patch
the code directly and
probably remove all the Kbuild files under include/ that aren't also under
include/uapi/.
The ones under arch/ are more of an issue because of the potential for
generic-y and genhdr-y.
David
---
Catalin Marinas (1):
uapi: Allow automatic generation of uapi/asm/ header files
David Howells (9
building x86_64 or usermode Linux (and probably
others):
include/linux/irqnr.h:4:30: fatal error: uapi/linux/irqnr.h: No such file or
directory
Reported-by: Randy Dunlap rdun...@xenotime.net
Reported-by: Alessandro Suardi alessandro.sua...@gmail.com
Signed-off-by: David Howells dhowe...@redhat.com
Remove empty conditionals from include/linux/Kbuild as the contents, with new
conditionals, have moved to include/uapi/linux/Kbuild.
Signed-off-by: David Howells dhowe...@redhat.com
---
include/linux/Kbuild | 10 --
1 file changed, 10 deletions(-)
diff --git a/include/linux/Kbuild b
lines in future, so I'm keeping them around for the
moment.
Note that MIPS will compile happily if the file is deleted instead. I haven't
tested TILE, but I suspect it will be the same there.
Signed-off-by: David Howells dhowe...@redhat.com
cc: Ralf Baechle r...@linux-mips.org
cc: Chris Metcalf
that the facility is
unsupported on this arch?
Signed-off-by: David Howells dhowe...@redhat.com
cc: Arnd Bergmann a...@arndb.de
cc: Avi Kivity a...@redhat.com
cc: Marcelo Tosatti mtosa...@redhat.com
cc: k...@vger.kernel.org
---
arch/ia64/include/uapi/asm/Kbuild |2 ++
arch/ia64/include
-by: Catalin Marinas catalin.mari...@arm.com
Signed-off-by: David Howells dhowe...@redhat.com
Cc: Michal Marek mma...@suse.cz
Cc: Arnd Bergmann a...@arndb.de
---
Makefile |4 +++-
scripts/Makefile.asm-generic |2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git
a comment in there as a placeholder.
Signed-off-by: David Howells dhowe...@redhat.com
---
arch/mn10300/include/uapi/asm/setup.h |4
1 file changed, 4 insertions(+)
diff --git a/arch/mn10300/include/uapi/asm/setup.h
b/arch/mn10300/include/uapi/asm/setup.h
index e69de29..ae5704f 100644
a comment in there as a placeholder.
Signed-off-by: David Howells dhowe...@redhat.com
cc: David S. Miller da...@davemloft.net
cc: sparcli...@vger.kernel.org
---
arch/sparc/include/uapi/asm/sigcontext.h |4
1 file changed, 4 insertions(+)
diff --git a/arch/sparc/include/uapi/asm
Move the header-y and generic-y lines for ucontext.h from
arch/tile/include/asm/Kbuild to the uapi/ Kbuild as the asm-generic variant is
used.
Signed-off-by: David Howells dhowe...@redhat.com
cc: Chris Metcalf cmetc...@tilera.com
---
arch/tile/include/asm/Kbuild |3 ---
arch/tile
a comment in there as a placeholder.
Signed-off-by: David Howells dhowe...@redhat.com
cc: Paul Mundt let...@linux-sh.org
cc: linux...@vger.kernel.org
---
arch/sh/include/uapi/asm/hw_breakpoint.h |4
1 file changed, 4 insertions(+)
diff --git a/arch/sh/include/uapi/asm/hw_breakpoint.h
b
.
It is probably necessary to make the files non-empty to prevent the patch
program from automatically deleting them when it reduces them to nothing.
Signed-off-by: David Howells dhowe...@redhat.com
---
include/Kbuild|4
include/asm-generic/Kbuild|0
include
Linus Torvalds torva...@linux-foundation.org wrote:
This was based on the complaint from Davem that the make
allmodconfig build got way slower because module signing takes a
while.
And quite frankly, the whole extra strip and sign thing at modpost
time was just nasty ugly code.
Why
of
'kvm_check_and_clear_guest_paused'
include/asm-generic/kvm_para.h:11:20: note: previous definition of
'kvm_check_and_clear_guest_paused' was here
This does not happen for ia64 defconfig.
Reported-by: Yuanhan Liu yuanhan@intel.com
Signed-off-by: David Howells dhowe...@redhat.com
cc: Yuanhan Liu yuanhan
0420c87e648a3b623ad925038a0bcff2ef5a4bc9,
ungenericising this file and just inserting a comment to prevent the patch
program from deleting it.
Reported-by: Yuanhan Liu yuanhan@intel.com
Signed-off-by: David Howells dhowe...@redhat.com
cc: Yuanhan Liu yuanhan@intel.com
cc: fengguang...@intel.com
Display the local caching state in /proc/fs/nfsfs/volumes.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/nfs/client.c |7 ---
fs/nfs/fscache.h | 12
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 0de4db4
Export a number of functions for CacheFiles's use.
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
fs/super.c |2 ++
kernel/auditsc.c |2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/fs/super.c b/fs/super.c
index 28e7370..0e8c0e2 100644
--- a/fs/super.c
Changes to the kernel configuration defintions and to the NFS mount options to
allow the local caching support added by the previous patch to be enabled.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/Kconfig|8
fs/nfs/client.c | 14 ++
fs/nfs
, then
page_mkwrite() will flush it before attaching a record of the new key.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/afs/file.c | 20 +++-
fs/afs/internal.h |1 +
fs/afs/write.c| 35 +++
3 files changed, 55 insertions(+), 1 deletions
Save the operation ID to be used with a call that we're making for display
through /proc/net/rxrpc_calls. This helps debugging stuck operations as we
then know what they are.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
include/net/af_rxrpc.h |1 +
net/rxrpc/af_rxrpc.c|3
routines once the pages have been unlocked as part of the
writeback process. To this end, the PG_error flag is set, then the
PG_writeback flag is cleared, and only *then* can lock_page() be called.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
include/linux/mm.h |5 ++-
mm/truncate.c
be
revalidated.
(5) The writeback-rejection handler now calls cancel_rejected_write() added by
the previous patch to excise the affected pages rather than clearing the
PG_uptodate flag on all the pages.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/afs/fsclient.c |4
The attached patch makes the kAFS filesystem in fs/afs/ use FS-Cache, and
through it any attached caches. The kAFS filesystem will use caching
automatically if it's available.
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
fs/Kconfig |8 +
fs/afs/Makefile|3
fs/afs
Hi Al, Christoph, Trond, Stephen, Casey,
Here's a set of patches that implement a very basic set of COW credentials. It
compiles, links and runs for x86_64 with EXT3, (V)FAT, NFS, AFS, SELinux and
keyrings all enabled. Most other filesystems are disabled, apart from things
like proc. It is
-Off-By: David Howells [EMAIL PROTECTED]
---
include/linux/pagemap.h |5 +
mm/filemap.c| 19 +++
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index d1049b6..452fdcf 100644
--- a/include/linux
an NFS filesystem to use caching, add an fsc option to the mount:
mount warthog:/ /a -o fsc
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
fs/nfs/Makefile |1
fs/nfs/client.c |5 +
fs/nfs/file.c | 51 ++
fs/nfs/fscache-def.c | 288
Add a TestSetPageError() macro to the suite of page flag manipulators. This
can be used by AFS to prevent over-excision of rejected writes from the page
cache.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
include/linux/page-flags.h |1 +
1 files changed, 1 insertions(+), 0 deletions
for this that uses the prepare_write() and
commit_write() address_space operations to bound a copy directly into the page
cache.
Hook the Ext2 and Ext3 operations to the generic implementation.
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
fs/ext2/inode.c|2 +
fs/ext3/inode.c|3
Casey Schaufler [EMAIL PROTECTED] wrote:
One thing I'm not certain about is how this should interact with /proc,
which can display some of the stuff in the cred struct. I think it may be
necessary to have a real cred pointer and an effective cred pointer, with
the contents of /proc
Provide an add_wait_queue_tail() function to add a waiter to the back of a
wait queue instead of the front.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
include/linux/wait.h |1 +
kernel/wait.c| 18 ++
2 files changed, 19 insertions(+), 0 deletions(-)
diff
This patch set is available for download as a tarball from:
http://people.redhat.com/~dhowells/nfs/nfs+fscache-23.tar.bz2
David
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at
This one-line patch fixes the missing export of copy_page introduced
by the cachefile patches. This patch is not yet upstream, but is required
for cachefile on ia64. It will be pushed upstream when cachefile goes
upstream.
Signed-off-by: Prarit Bhargava [EMAIL PROTECTED]
Signed-Off-By: David
Request a credential record for the named kernel service. This produces a
cred struct with appropriate DAC and MAC controls for effecting that service.
It may be used to override the credentials on a task to do work on that task's
behalf.
Signed-off-by: David Howells [EMAIL PROTECTED
to detect this.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/splice.c|2 +-
include/linux/page-flags.h | 30 +-
include/linux/pagemap.h| 11 +++
mm/filemap.c | 16
mm/migrate.c
by update_current_cred() which is
invoked on entry to any system call that might need it.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/buffer.c |3 +++
fs/ioprio.c |3 +++
fs/open.c | 27 +--
fs/proc/array.c
) to do the honours.
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
mm/readahead.c | 40 ++--
1 files changed, 38 insertions(+), 2 deletions(-)
diff --git a/mm/readahead.c b/mm/readahead.c
index 39bf45d..12d1378 100644
--- a/mm/readahead.c
+++ b/mm/readahead.c
-by: David Howells [EMAIL PROTECTED]
---
include/linux/cred.h |1
include/linux/security.h | 33 ++
kernel/cred.c |7 +
security/dummy.c | 11 +
security/selinux/exports.c|6
security/selinux/hooks.c | 497
Trond Myklebust [EMAIL PROTECTED] wrote:
So why do you need a new address space operation? AFAICS the generic
implementation will work for pretty much everyone who supports the
existing prepare_write()/commit_write().
Because Christoph decreed that I wasn't allowed to call prepare_write() and
Trond Myklebust [EMAIL PROTECTED] wrote:
This is used by CacheFiles to detect read completion on a page in the
backing filesystem so that it can then copy the data to the waiting netfs
page.
Won't it in any case want to lock the page too?
No. Why would it? All it wants to do is to
Casey Schaufler [EMAIL PROTECTED] wrote:
They are nonetheless in effect and (heaven forbid) should they be
abused you don't want to hide the facts from concerned observers.
Because, I suspect, what the observer through /proc should see is what the
process thinks it is doing, not what is
Peter Staubach [EMAIL PROTECTED] wrote:
Did I miss the section where the modified semantics about which
mounted file systems can use the cache and which ones can not
was implemented?
Yes.
David
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message
David Howells [EMAIL PROTECTED] wrote:
Peter Staubach [EMAIL PROTECTED] wrote:
Did I miss the section where the modified semantics about which
mounted file systems can use the cache and which ones can not
was implemented?
Yes.
fs/nfs/super.c:
case Opt_sharecache
Serge E. Hallyn [EMAIL PROTECTED] wrote:
Ah, ok, so the daemon would use this to act under the user's
credentials. I was thinking the user would be using this to act
under the daemon's or kernel's sid.
Think kernel service rather than daemon. NFSd provides its own daemons to
override the
Jonathan Corbet [EMAIL PROTECTED] wrote:
The comment describes a dentry argument, but the actual function does
not have that argument.
oops. Yeah, I decided I didn't want that there.
David
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to
Acked-By: David Howells [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Stephen Smalley [EMAIL PROTECTED] wrote:
Precisely when to use one identity vs. the other though isn't always
clear, and the potential for accidental divergence is also a concern.
What should auditing use in audit_filter_rules() when dealing with
AUDIT_SUBJ_* cases? Should the SUBJ cases use
Hi Al, Christoph, Trond, Stephen, Casey,
Here's a set of patches that implement a very basic set of COW credentials. It
compiles, links and runs for x86_64 with EXT3, (V)FAT, NFS, AFS, SELinux and
keyrings all enabled. I've included a patch that should make most of the other
archs and
this to be
incorrect. It should probably use security_task_getsecid() instead.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
drivers/usb/core/devio.c |4 ++--
include/linux/security.h | 18 +-
include/linux/selinux.h | 15 ++-
kernel/auditsc.c
-by: David Howells [EMAIL PROTECTED]
---
include/linux/cred.h |1
include/linux/security.h | 33 ++
kernel/cred.c |7 +
security/dummy.c | 11 +
security/selinux/exports.c|6
security/selinux/hooks.c | 497
by update_current_cred() which is
invoked on entry to any system call that might need it.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/buffer.c |3 +++
fs/ioprio.c |3 +++
fs/open.c | 27 +--
fs/proc/array.c
Request a credential record for the named kernel service. This produces a
cred struct with appropriate DAC and MAC controls for effecting that service.
It may be used to override the credentials on a task to do work on that task's
behalf.
Signed-off-by: David Howells [EMAIL PROTECTED
to detect this.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/splice.c|2 +-
include/linux/page-flags.h | 30 +-
include/linux/pagemap.h| 11 +++
mm/filemap.c | 16
mm/migrate.c
Fix up the other credentials references to use the new COW cred struct.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
arch/ia64/ia32/sys_ia32.c |7 ++--
arch/ia64/kernel/perfmon.c|2 -
arch/powerpc/platforms/cell/spufs/inode.c |2 -
arch/s390
) to do the honours.
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
mm/readahead.c | 40 ++--
1 files changed, 38 insertions(+), 2 deletions(-)
diff --git a/mm/readahead.c b/mm/readahead.c
index 39bf45d..12d1378 100644
--- a/mm/readahead.c
+++ b/mm/readahead.c
Provide an add_wait_queue_tail() function to add a waiter to the back of a
wait queue instead of the front.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
include/linux/wait.h |1 +
kernel/wait.c| 18 ++
2 files changed, 19 insertions(+), 0 deletions(-)
diff
This one-line patch fixes the missing export of copy_page introduced
by the cachefile patches. This patch is not yet upstream, but is required
for cachefile on ia64. It will be pushed upstream when cachefile goes
upstream.
Signed-off-by: Prarit Bhargava [EMAIL PROTECTED]
Signed-Off-By: David
-Off-By: David Howells [EMAIL PROTECTED]
---
include/linux/pagemap.h |5 +
mm/filemap.c| 19 +++
2 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index d1049b6..452fdcf 100644
--- a/include/linux
for this that uses the prepare_write() and
commit_write() address_space operations to bound a copy directly into the page
cache.
Hook the Ext2 and Ext3 operations to the generic implementation.
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
fs/ext2/inode.c|2 +
fs/ext3/inode.c|3
Export a number of functions for CacheFiles's use.
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
fs/super.c |2 ++
kernel/auditsc.c |2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/fs/super.c b/fs/super.c
index 28e7370..0e8c0e2 100644
--- a/fs/super.c
Add a TestSetPageError() macro to the suite of page flag manipulators. This
can be used by AFS to prevent over-excision of rejected writes from the page
cache.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
include/linux/page-flags.h |1 +
1 files changed, 1 insertions(+), 0 deletions
Changes to the kernel configuration defintions and to the NFS mount options to
allow the local caching support added by the previous patch to be enabled.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/Kconfig|8
fs/nfs/client.c | 14 ++
fs/nfs
an NFS filesystem to use caching, add an fsc option to the mount:
mount warthog:/ /a -o fsc
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
fs/nfs/Makefile |1
fs/nfs/client.c |5 +
fs/nfs/file.c | 51 ++
fs/nfs/fscache-def.c | 288
Display the local caching state in /proc/fs/nfsfs/volumes.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/nfs/client.c |7 ---
fs/nfs/fscache.h | 12
2 files changed, 16 insertions(+), 3 deletions(-)
diff --git a/fs/nfs/client.c b/fs/nfs/client.c
index 0de4db4
routines once the pages have been unlocked as part of the
writeback process. To this end, the PG_error flag is set, then the
PG_writeback flag is cleared, and only *then* can lock_page() be called.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
include/linux/mm.h |5 ++-
mm/truncate.c
be
revalidated.
(5) The writeback-rejection handler now calls cancel_rejected_write() added by
the previous patch to excise the affected pages rather than clearing the
PG_uptodate flag on all the pages.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/afs/fsclient.c |4
Save the operation ID to be used with a call that we're making for display
through /proc/net/rxrpc_calls. This helps debugging stuck operations as we
then know what they are.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
include/net/af_rxrpc.h |1 +
net/rxrpc/af_rxrpc.c|3
The attached patch makes the kAFS filesystem in fs/afs/ use FS-Cache, and
through it any attached caches. The kAFS filesystem will use caching
automatically if it's available.
Signed-Off-By: David Howells [EMAIL PROTECTED]
---
fs/Kconfig |8 +
fs/afs/Makefile|3
fs/afs
, then
page_mkwrite() will flush it before attaching a record of the new key.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/afs/file.c | 20 +++-
fs/afs/internal.h |1 +
fs/afs/write.c| 35 +++
3 files changed, 55 insertions(+), 1 deletions
Al Viro [EMAIL PROTECTED] wrote:
Umm... Perhaps a better primitive would be make sure that our cred is
not shared with anybody, creating a copy and redirecting reference to
it if needed.
I wanted to make the point that once a cred record was made live - i.e. exposed
to the rest of the system
Hi Christoph, Al,
Here's a set of patches that remove all calls to iget() and all read_inode()
functions. They should be removed for two reasons: firstly they don't lend
themselves to good error handling, and secondly their presence is a temptation
for code outside a filesystem to call iget()
Introduce a function to register failure in an inode construction path. This
includes marking the inode under construction as bad, unlocking it and
releasing it.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
Documentation/filesystems/porting | 18 +-
fs/bad_inode.c
Use iget_failed() in AFS to kill a failed inode.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/afs/inode.c |5 +
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/fs/afs/inode.c b/fs/afs/inode.c
index d196840..ca9b02f 100644
--- a/fs/afs/inode.c
+++ b/fs/afs/inode.c
Use iget_failed() in GFS2 to kill a failed inode.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/gfs2/inode.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/gfs2/inode.c b/fs/gfs2/inode.c
index 34f7bcd..498844f 100644
--- a/fs/gfs2/inode.c
+++ b/fs/gfs2
);
if (IS_ERR(inode)) {
ret = PTR_ERR(inode);
goto error;
}
Signed-off-by: David Howells [EMAIL PROTECTED]
---
Documentation/filesystems/Exporting |5 -
Documentation/filesystems/Locking |3 ---
Documentation/filesystems/vfs.txt | 16
incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/affs/affs.h |2 +-
fs/affs/amigaffs.c |6 --
fs/affs/inode.c| 20 +---
fs/affs/namei.c|7 +++
fs/affs/super.c| 12 +---
5
Stop the autofs filesystem from using iget() and read_inode(). Replace
autofs_read_inode() with autofs_iget(), and call that instead of iget().
autofs_iget() then uses iget_locked() directly and returns a proper error code
instead of an inode in the event of an error.
Signed-off-by: David
incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/befs/linuxvfs.c | 39 +--
1 files changed, 25 insertions(+), 14 deletions(-)
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c
index a451418
incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/bfs/bfs.h |2 ++
fs/bfs/dir.c |6 +++---
fs/bfs/inode.c | 32 ++--
3 files changed, 27 insertions(+), 13 deletions(-)
diff --git a/fs/bfs/bfs.h b/fs
error incurred when getting the root inode
instead of ENOMEM.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/cifs/cifsfs.c |8
fs/cifs/cifsfs.h |1 +
fs/cifs/inode.c | 35 ++-
3 files changed, 31 insertions(+), 13 deletions(-)
diff --git
incurred when getting the root inode
instead of EACCES.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/efs/inode.c | 25 +
fs/efs/namei.c | 23 ---
fs/efs/super.c | 18 --
include/linux/efs_fs.h |2
incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/ext2/ext2.h |2 +-
fs/ext2/inode.c | 26 +++---
fs/ext2/namei.c | 12 ++--
fs/ext2/super.c | 32 ++--
4 files changed
incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/ext3/ialloc.c| 15 ++-
fs/ext3/inode.c | 25 +++--
fs/ext3/namei.c | 25 +++--
fs/ext3/resize.c
incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/ext4/ialloc.c| 13 +
fs/ext4/inode.c | 25 +++--
fs/ext4/namei.c | 25 +++--
fs/ext4/resize.c
Stop the FAT filesystem from using iget() and read_inode(). Replace
the call to iget() with a call to ilookup().
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/fat/inode.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/fs/fat/inode.c b/fs/fat/inode.c
index
error incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/freevxfs/vxfs_extern.h |2 +-
fs/freevxfs/vxfs_inode.c | 45 +
fs/freevxfs/vxfs_lookup.c |6 +++---
fs/freevxfs/vxfs_super.c
Stop the FUSE filesystem from using read_inode(), which it doesn't use anyway.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/fuse/inode.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/fs/fuse/inode.c b/fs/fuse/inode.c
index 5448f62..2986654 100644
() returns any error incurred when getting the root inode.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/hfsplus/btree.c |6 --
fs/hfsplus/dir.c|6 +++---
fs/hfsplus/hfsplus_fs.h |3 +++
fs/hfsplus/super.c | 44
4
Stop the ISOFS filesystem from using read_inode(). Make isofs_read_inode()
return an error code, and make isofs_iget() pass it on.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/isofs/inode.c | 25 +
1 files changed, 17 insertions(+), 8 deletions(-)
diff --git
any error incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/jffs2/dir.c |6 +++--
fs/jffs2/fs.c | 56 ---
fs/jffs2/os-linux.h |2 +-
fs/jffs2/super.c|1 -
4
incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/jfs/inode.c | 20
fs/jfs/jfs_inode.h |2 +-
fs/jfs/namei.c | 34 ++
fs/jfs/super.c | 15 +--
4 files
error incurred when getting the root inode
instead of EINVAL.
Signed-off-by: David Howells [EMAIL PROTECTED]
---
fs/minix/inode.c | 43 +--
fs/minix/minix.h |1 +
fs/minix/namei.c |7 +++
3 files changed, 33 insertions(+), 18 deletions
701 - 800 of 13793 matches
Mail list logo