Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346537
b: refs/heads/master
c: eba24e1
h: refs/heads/master
i:
  346535: e052596
v: v3
  • Loading branch information
Trond Myklebust authored and Trond Myklebust committed Nov 4, 2012
1 parent 103074b commit af20cbc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 23 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: d3edcf96141a7729b12ef5ecab6d5f634e24c61a
refs/heads/master: eba24e1fe57df4e4cdee58af940f762eb336a113
11 changes: 0 additions & 11 deletions trunk/fs/nfs/objlayout/objlayout.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,6 @@ end_offset(u64 start, u64 len)
return end >= start ? end : NFS4_MAX_UINT64;
}

/* last octet in a range */
static inline u64
last_byte_offset(u64 start, u64 len)
{
u64 end;

BUG_ON(!len);
end = start + len;
return end > start ? end - 1 : NFS4_MAX_UINT64;
}

static void _fix_verify_io_params(struct pnfs_layout_segment *lseg,
struct page ***p_pages, unsigned *p_pgbase,
u64 offset, unsigned long count)
Expand Down
11 changes: 0 additions & 11 deletions trunk/fs/nfs/pnfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,17 +369,6 @@ end_offset(u64 start, u64 len)
return end >= start ? end : NFS4_MAX_UINT64;
}

/* last octet in a range */
static inline u64
last_byte_offset(u64 start, u64 len)
{
u64 end;

BUG_ON(!len);
end = start + len;
return end > start ? end - 1 : NFS4_MAX_UINT64;
}

/*
* is l2 fully contained in l1?
* start1 end1
Expand Down

0 comments on commit af20cbc

Please sign in to comment.