Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3649
b: refs/heads/master
c: 60564a3
h: refs/heads/master
i:
  3647: e2b820f
v: v3
  • Loading branch information
Mike Miller authored and Linus Torvalds committed Jun 27, 2005
1 parent 624697a commit 03487c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: cd6fb584cf7f18ec6b221192b57d712ecc8c1859
refs/heads/master: 60564a313a5738960064d6c555ec066d9332f278
7 changes: 0 additions & 7 deletions trunk/drivers/block/cciss.c
Original file line number Diff line number Diff line change
Expand Up @@ -791,13 +791,6 @@ static int cciss_ioctl(struct inode *inode, struct file *filep,
luninfo.LunID = drv->LunID;
luninfo.num_opens = drv->usage_count;
luninfo.num_parts = 0;
/* count partitions 1 to 15 with sizes > 0 */
for (i = 0; i < MAX_PART - 1; i++) {
if (!disk->part[i])
continue;
if (disk->part[i]->nr_sects != 0)
luninfo.num_parts++;
}
if (copy_to_user(argp, &luninfo,
sizeof(LogvolInfo_struct)))
return -EFAULT;
Expand Down

0 comments on commit 03487c8

Please sign in to comment.