Minor jfs updates
-----BEGIN PGP SIGNATURE----- iQIcBAABCAAGBQJX8//uAAoJEDaohF61QIxkBi8QAKKHQVPK+QAcoSYf3fqV7PKo +j83RnBOcPAo8Rhtycb5+azz1Or1IWmsZETbhSo8+4GZJgV8E0XZbgC5Cj630Lg8 ltmi31GfHD959kzIukDJKbPBsBROgOCk0k8Gry3/tWFdQRblPreoJkR0c3FeD6kJ AY7GrITRuxZQFde7pRM5mXmgO2CO6ERaXQit+BeG+cdMXpeoC3PHQvs8LQphV/ah Ybn6oJJnO/fP2lzbNoe8aN+owuaJbA2EasjCtZpuhRAUAsBpSGDy+nGlkBCg8MAZ DLQzLOYAafCyoXu5GuqStUjRJAtz7GWcL+QWYcHKpNZgztYyTQhzDbmDA3pdWffG CZUqYk6PR9+3dIa2wE8UJqRQ4YmggFhBC1zcHkOarFyzuTNMje0bOP+5BTJ5bJgB j2R/R8b3vn9PY0tobeV6Mju1ArXJHxde3mEvJ3RsOMPrwlGTUd3te9ANAu/T2MJG 5s1msjbY+SKk+605IF2gWrWqbDrvP8MBGkcBAqV/0jW+MhhDuj1c2+r417kKS6tj sZb71zoslVJW1y3dxQ0oLb3VWECH7X6GDA5Nz3JrHFuQRjSNHnFulXEdOFxmf7EZ y9Ld+YyOpKWqT0ifQlBoyO95IHL9EsvhUO+eNHsLvTDD+Z1W8YdgMxUNX2EdqDow 8tnw1N7Um+6FyrDm2OER =L+vH -----END PGP SIGNATURE----- Merge tag 'jfs-4.9' of git://github.com/kleikamp/linux-shaggy Pull jfs updates from David Kleikamp: "Minor jfs updates" * tag 'jfs-4.9' of git://github.com/kleikamp/linux-shaggy: jfs: Simplify code jfs: jump to error_out when filemap_{fdatawait, write_and_wait} fails
This commit is contained in:
commit
2105b9ff73
|
@ -2893,8 +2893,7 @@ void txQuiesce(struct super_block *sb)
|
|||
* on anon_list2. Let's check.
|
||||
*/
|
||||
if (!list_empty(&TxAnchor.anon_list2)) {
|
||||
list_splice(&TxAnchor.anon_list2, &TxAnchor.anon_list);
|
||||
INIT_LIST_HEAD(&TxAnchor.anon_list2);
|
||||
list_splice_init(&TxAnchor.anon_list2, &TxAnchor.anon_list);
|
||||
goto restart;
|
||||
}
|
||||
TXN_UNLOCK();
|
||||
|
|
|
@ -379,8 +379,14 @@ int jfs_extendfs(struct super_block *sb, s64 newLVSize, int newLogSize)
|
|||
* cached in meta-data cache, and not written out
|
||||
* by txCommit();
|
||||
*/
|
||||
filemap_fdatawait(ipbmap->i_mapping);
|
||||
filemap_write_and_wait(ipbmap->i_mapping);
|
||||
rc = filemap_fdatawait(ipbmap->i_mapping);
|
||||
if (rc)
|
||||
goto error_out;
|
||||
|
||||
rc = filemap_write_and_wait(ipbmap->i_mapping);
|
||||
if (rc)
|
||||
goto error_out;
|
||||
|
||||
diWriteSpecial(ipbmap, 0);
|
||||
|
||||
newPage = nPages; /* first new page number */
|
||||
|
|
Loading…
Reference in New Issue