diff options
author | Daniel Phillips <daniel@tux3.org> | 2014-02-18 03:20:20 +0900 |
---|---|---|
committer | Daniel Phillips <daniel@tux3.org> | 2014-02-18 03:20:20 +0900 |
commit | 43b8585b04a1049c1dde8cb001e6ba5fba57933e (patch) | |
tree | beeba71215ceadf6320df8961e8791f17b11d43e | |
parent | f81d615f293612ee9af215001455838df87a8e2e (diff) | |
download | linux-tux3-43b8585b04a1049c1dde8cb001e6ba5fba57933e.tar.gz |
tux3: Do not need to check for nextinum wrap
Search for inum already wraps if necessary
Signed-off-by: Daniel Phillips <d.phillips@partner.samsung.com>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
-rw-r--r-- | fs/tux3/dir.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/tux3/dir.c b/fs/tux3/dir.c index dab61609555b9..f69fe56f18a8f 100644 --- a/fs/tux3/dir.c +++ b/fs/tux3/dir.c @@ -221,8 +221,6 @@ int tux_create_dirent(struct inode *dir, const struct qstr *qstr, if (err) goto error; inum = tux_inode(inode)->inum; - if (inum >= MAX_INODES) - inum = TUX_NORMAL_INO - 1; sb->nextinum = inum + 1; /* FIXME: racy */ } |