Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 25192
b: refs/heads/master
c: 5df0d31
h: refs/heads/master
v: v3
  • Loading branch information
Eric Sesterhenn authored and Adrian Bunk committed Mar 31, 2006
1 parent 213e8a3 commit 6a1a76f
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: 4b4d1cc7336b29f766d4e59d1ed2c627443a694a
refs/heads/master: 5df0d312413d920628f149421d7b0a3994684620
6 changes: 2 additions & 4 deletions trunk/fs/smbfs/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,9 @@ smb_writepage(struct page *page, struct writeback_control *wbc)
unsigned offset = PAGE_CACHE_SIZE;
int err;

if (!mapping)
BUG();
BUG_ON(!mapping);
inode = mapping->host;
if (!inode)
BUG();
BUG_ON(!inode);

end_index = inode->i_size >> PAGE_CACHE_SHIFT;

Expand Down

0 comments on commit 6a1a76f

Please sign in to comment.