summaryrefslogtreecommitdiffstats
path: root/fs/jfs/namei.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 09:26:39 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-07-27 09:26:39 -0700
commit5fd00b031530cc476240f654c078c930f1dcd6ea (patch)
tree1673effc8eb32932cdcbbd211d4632a80e5693a0 /fs/jfs/namei.c
parent333c066bb76f1f270ca77f16afe198e54e352c83 (diff)
parent3c2c22628599006047781946b317a16d9ff3883d (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/shaggy/jfs-2.6: jfs: clean up some compiler warnings
Diffstat (limited to 'fs/jfs/namei.c')
-rw-r--r--fs/jfs/namei.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jfs/namei.c b/fs/jfs/namei.c
index 29b1f1a2114..e17545e1566 100644
--- a/fs/jfs/namei.c
+++ b/fs/jfs/namei.c
@@ -893,7 +893,7 @@ static int jfs_symlink(struct inode *dip, struct dentry *dentry,
unchar *i_fastsymlink;
s64 xlen = 0;
int bmask = 0, xsize;
- s64 extent = 0, xaddr;
+ s64 xaddr;
struct metapage *mp;
struct super_block *sb;
struct tblock *tblk;
@@ -993,7 +993,6 @@ static int jfs_symlink(struct inode *dip, struct dentry *dentry,
txAbort(tid, 0);
goto out3;
}
- extent = xaddr;
ip->i_size = ssize - 1;
while (ssize) {
/* This is kind of silly since PATH_MAX == 4K */