Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25218
b: refs/heads/master
c: d6735bf
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Apr 2, 2006
1 parent 0bf54d6 commit 66fee3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b7542f8c7eb40efb967a558c5be90fe5f939c3ef
refs/heads/master: d6735bfcc998863dab89dacca2aed20932b6bc21
6 changes: 2 additions & 4 deletions trunk/fs/sysv/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,7 @@ int sysv_delete_entry(struct sysv_dir_entry *de, struct page *page)

lock_page(page);
err = mapping->a_ops->prepare_write(NULL, page, from, to);
if (err)
BUG();
BUG_ON(err);
de->inode = 0;
err = dir_commit_chunk(page, from, to);
dir_put_page(page);
Expand Down Expand Up @@ -353,8 +352,7 @@ void sysv_set_link(struct sysv_dir_entry *de, struct page *page,

lock_page(page);
err = page->mapping->a_ops->prepare_write(NULL, page, from, to);
if (err)
BUG();
BUG_ON(err);
de->inode = cpu_to_fs16(SYSV_SB(inode->i_sb), inode->i_ino);
err = dir_commit_chunk(page, from, to);
dir_put_page(page);
Expand Down

0 comments on commit 66fee3a

Please sign in to comment.