diff options
author | Anton Altaparmakov <aia21@cantab.net> | 2005-09-08 11:48:28 -0400 |
---|---|---|
committer | Anton Altaparmakov <aia21@cantab.net> | 2005-09-08 11:48:28 -0400 |
commit | 8bb735216a0675e247bbe8b8b92c09d6884d1a17 (patch) | |
tree | 7d98e06d0f093e205f21090a123617f2913cb7b3 | |
parent | 84d6ebe63f50b6efd8be252b58a207132157c60f (diff) |
NTFS: Remove two bogus BUG_ON()s from fs/ntfs/mft.c.
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
-rw-r--r-- | fs/ntfs/ChangeLog | 1 | ||||
-rw-r--r-- | fs/ntfs/mft.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/fs/ntfs/ChangeLog b/fs/ntfs/ChangeLog index 4bc8f91c5fc0..f4c27f7c1b6a 100644 --- a/fs/ntfs/ChangeLog +++ b/fs/ntfs/ChangeLog | |||
@@ -45,6 +45,7 @@ ToDo/Notes: | |||
45 | need to panic() if the allocation fails as it now cannot fail. | 45 | need to panic() if the allocation fails as it now cannot fail. |
46 | - Fix two nasty runlist merging bugs that had gone unnoticed so far. | 46 | - Fix two nasty runlist merging bugs that had gone unnoticed so far. |
47 | Thanks to Stefano Picerno for the bug report. | 47 | Thanks to Stefano Picerno for the bug report. |
48 | - Remove two bogus BUG_ON()s from fs/ntfs/mft.c. | ||
48 | 49 | ||
49 | 2.1.23 - Implement extension of resident files and make writing safe as well as | 50 | 2.1.23 - Implement extension of resident files and make writing safe as well as |
50 | many bug fixes, cleanups, and enhancements... | 51 | many bug fixes, cleanups, and enhancements... |
diff --git a/fs/ntfs/mft.c b/fs/ntfs/mft.c index 317f7c679fd3..e27651db4534 100644 --- a/fs/ntfs/mft.c +++ b/fs/ntfs/mft.c | |||
@@ -511,7 +511,6 @@ int ntfs_sync_mft_mirror(ntfs_volume *vol, const unsigned long mft_no, | |||
511 | } while (bh); | 511 | } while (bh); |
512 | tail->b_this_page = head; | 512 | tail->b_this_page = head; |
513 | attach_page_buffers(page, head); | 513 | attach_page_buffers(page, head); |
514 | BUG_ON(!page_has_buffers(page)); | ||
515 | } | 514 | } |
516 | bh = head = page_buffers(page); | 515 | bh = head = page_buffers(page); |
517 | BUG_ON(!bh); | 516 | BUG_ON(!bh); |
@@ -692,7 +691,6 @@ int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync) | |||
692 | */ | 691 | */ |
693 | if (!NInoTestClearDirty(ni)) | 692 | if (!NInoTestClearDirty(ni)) |
694 | goto done; | 693 | goto done; |
695 | BUG_ON(!page_has_buffers(page)); | ||
696 | bh = head = page_buffers(page); | 694 | bh = head = page_buffers(page); |
697 | BUG_ON(!bh); | 695 | BUG_ON(!bh); |
698 | rl = NULL; | 696 | rl = NULL; |