git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
block: remove QUEUE_FLAG_DISCARD
[sfrench/cifs-2.6.git]
/
fs
/
jfs
/
ioctl.c
diff --git
a/fs/jfs/ioctl.c
b/fs/jfs/ioctl.c
index 03a845ab4f009c30e6fc2a941bb2196f21a65200..357ae6e5c36ec101a66815228ee688eb6056e0a9 100644
(file)
--- a/
fs/jfs/ioctl.c
+++ b/
fs/jfs/ioctl.c
@@
-117,7
+117,7
@@
long jfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg)
if (!capable(CAP_SYS_ADMIN))
return -EPERM;
- if (!b
lk_queue_discard(q
)) {
+ if (!b
dev_max_discard_sectors(sb->s_bdev
)) {
jfs_warn("FITRIM not supported on device");
return -EOPNOTSUPP;
}