linux/fs
Mika Kukkonen c381bfcf0c Couple fixes to fs/ecryptfs/inode.c
Following was uncovered by compiling the kernel with '-W' flag:

  CC [M]  fs/ecryptfs/inode.o
fs/ecryptfs/inode.c: In function ‘ecryptfs_lookup’:
fs/ecryptfs/inode.c:304: warning: comparison of unsigned expression < 0 is always false
fs/ecryptfs/inode.c: In function ‘ecryptfs_symlink’:
fs/ecryptfs/inode.c:486: warning: comparison of unsigned expression < 0 is always false

Function ecryptfs_encode_filename() can return -ENOMEM, so change the
variables to plain int, as in the first case the only real use actually
expects int, and in latter case there is no use beoynd the error check.

Signed-off-by: Mika Kukkonen <mikukkon@iki.fi>
Cc: Michael Halcrow <mhalcrow@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-17 10:23:08 -07:00
..
9p
adfs
affs
afs
autofs
autofs4
befs
bfs
cifs knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
coda
configfs
cramfs
debugfs
devpts
dlm
ecryptfs Couple fixes to fs/ecryptfs/inode.c 2007-07-17 10:23:08 -07:00
efs knfsd: exportfs: remove iget abuse 2007-07-17 10:23:06 -07:00
exportfs knfsd: exportfs: split out reconnecting a dentry from find_exported_dentry 2007-07-17 10:23:06 -07:00
ext2 knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
ext3 knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
ext4 knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
fat knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
freevxfs
fuse
gfs2 knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
hfs
hfsplus
hostfs
hpfs
hppfs
hugetlbfs
isofs knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
jbd
jbd2
jffs2 Freezer: make kernel threads nonfreezable by default 2007-07-17 10:23:02 -07:00
jfs knfsd: exportfs: remove iget abuse 2007-07-17 10:23:06 -07:00
lockd knfsd: lockd: nfsd4: use same grace period for lockd and nfsd4 2007-07-17 10:23:07 -07:00
minix
msdos
ncpfs
nfs Freezer: make kernel threads nonfreezable by default 2007-07-17 10:23:02 -07:00
nfs_common
nfsd knfsd: nfsd: enforce per-flavor id squashing 2007-07-17 10:23:08 -07:00
nls
ntfs knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
ocfs2 knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
openpromfs
partitions
proc kallsyms: make KSYM_NAME_LEN include space for trailing '\0' 2007-07-17 10:23:03 -07:00
qnx4
ramfs
reiserfs knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
romfs
smbfs
sysfs
sysv
udf
ufs
vfat
xfs knfsd: exportfs: add exportfs.h header 2007-07-17 10:23:06 -07:00
aio.c
anon_inodes.c
attr.c
bad_inode.c
binfmt_aout.c
binfmt_elf_fdpic.c
binfmt_elf.c
binfmt_em86.c
binfmt_flat.c
binfmt_misc.c
binfmt_script.c
binfmt_som.c
bio.c
block_dev.c
buffer.c
char_dev.c
compat_ioctl.c
compat.c
dcache.c
dcookies.c
direct-io.c
dnotify.c
dquot.c
drop_caches.c
eventfd.c
eventpoll.c
exec.c
fcntl.c
fifo.c
file_table.c
file.c
filesystems.c
fs-writeback.c
generic_acl.c
inode.c
inotify_user.c
inotify.c
internal.h
ioctl.c
ioprio.c
Kconfig knfsd: nfsd4: build rpcsec_gss whenever nfsd4 is built 2007-07-17 10:23:07 -07:00
Kconfig.binfmt
libfs.c
locks.c
Makefile
mbcache.c
mpage.c
namei.c
namespace.c
nfsctl.c
no-block.c
open.c
pipe.c
pnode.c
pnode.h
posix_acl.c
quota_v1.c
quota_v2.c
quota.c
read_write.c
read_write.h
readdir.c
select.c
seq_file.c
signalfd.c
splice.c
stack.c
stat.c
super.c
sync.c
timerfd.c
utimes.c
xattr_acl.c
xattr.c