Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
6d8870cc
Commit
6d8870cc
authored
May 29, 2003
by
Dave Kleikamp
Browse files
Options
Browse Files
Download
Plain Diff
Merge jfs@jfs.bkbits.net:linux-2.5
into shaggy.austin.ibm.com:/shaggy/bk/jfs-2.5
parents
83169a1a
d574cd3c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
Documentation/filesystems/jfs.txt
Documentation/filesystems/jfs.txt
+2
-2
fs/jfs/resize.c
fs/jfs/resize.c
+5
-5
fs/jfs/super.c
fs/jfs/super.c
+6
-2
No files found.
Documentation/filesystems/jfs.txt
View file @
6d8870cc
...
...
@@ -4,10 +4,10 @@ JFS Homepage: http://oss.software.ibm.com/jfs/
Team members
------------
Steve Best sbest@us.ibm.com
Dave Kleikamp shaggy@austin.ibm.com
Dave Blaschke blaschke@us.ibm.com
Steve Best sbest@us.ibm.com
Barry Arndt barndt@us.ibm.com
Christoph Hellwig hch@infradead.org
The following mount options are supported:
...
...
fs/jfs/resize.c
View file @
6d8870cc
/*
* Copyright (c) International Business Machines Corp., 2000-200
2
* Copyright (c) International Business Machines Corp., 2000-200
3
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -348,7 +348,7 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize)
/* need to grow map file ? */
if
(
nPages
==
newNpages
)
goto
updateI
map
;
goto
finalizeB
map
;
/*
* grow bmap file for the new map pages required:
...
...
@@ -414,6 +414,7 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize)
if
(
XSize
)
goto
extendBmap
;
finalizeBmap:
/* finalize bmap */
dbFinalizeBmap
(
ipbmap
);
...
...
@@ -427,7 +428,6 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize)
* (computation of ag number from agstart based on agsize
* will correctly identify the new ag);
*/
updateImap:
/* if new AG size the same as old AG size, done! */
if
(
bmp
->
db_agsize
!=
old_agsize
)
{
if
((
rc
=
diExtendFS
(
ipimap
,
ipbmap
)))
...
...
@@ -485,8 +485,8 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize)
/* mark extendfs() completion */
j_sb
->
s_state
&=
cpu_to_le32
(
~
FM_EXTENDFS
);
j_sb
->
s_size
=
cpu_to_le64
(
bmp
->
db_mapsize
)
<<
le16_to_cpu
(
j_sb
->
s_l2bfactor
);
j_sb
->
s_size
=
cpu_to_le64
(
bmp
->
db_mapsize
<<
le16_to_cpu
(
j_sb
->
s_l2bfactor
)
);
j_sb
->
s_agsize
=
cpu_to_le32
(
bmp
->
db_agsize
);
/* update inline log space descriptor */
...
...
fs/jfs/super.c
View file @
6d8870cc
...
...
@@ -105,10 +105,14 @@ static void jfs_destroy_inode(struct inode *inode)
}
#ifdef CONFIG_JFS_POSIX_ACL
if
(
ji
->
i_acl
&&
(
ji
->
i_acl
!=
JFS_ACL_NOT_CACHED
))
if
(
ji
->
i_acl
!=
JFS_ACL_NOT_CACHED
)
{
posix_acl_release
(
ji
->
i_acl
);
if
(
ji
->
i_default_acl
&&
(
ji
->
i_default_acl
!=
JFS_ACL_NOT_CACHED
))
ji
->
i_acl
=
JFS_ACL_NOT_CACHED
;
}
if
(
ji
->
i_default_acl
!=
JFS_ACL_NOT_CACHED
)
{
posix_acl_release
(
ji
->
i_default_acl
);
ji
->
i_default_acl
=
JFS_ACL_NOT_CACHED
;
}
#endif
kmem_cache_free
(
jfs_inode_cachep
,
ji
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment