Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233581
b: refs/heads/master
c: be71514
h: refs/heads/master
i:
  233579: d2af14a
v: v3
  • Loading branch information
Lukas Czerner authored and Alex Elder committed Feb 22, 2011
1 parent 8ea5731 commit c8a4aa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3a3675b7f23f83ca8c67c9c2b6edf707fd28d1ba
refs/heads/master: be715140b5c3baf8ab6708060cfab80bef279d18
2 changes: 2 additions & 0 deletions trunk/fs/xfs/linux-2.6/xfs_discard.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ xfs_ioc_trim(

if (!capable(CAP_SYS_ADMIN))
return -XFS_ERROR(EPERM);
if (!blk_queue_discard(q))
return -XFS_ERROR(EOPNOTSUPP);
if (copy_from_user(&range, urange, sizeof(range)))
return -XFS_ERROR(EFAULT);

Expand Down

0 comments on commit c8a4aa7

Please sign in to comment.