projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic_write_checks(): drop isblk argument
[firefly-linux-kernel-4.4.55.git]
/
fs
/
ceph
/
file.c
diff --git
a/fs/ceph/file.c
b/fs/ceph/file.c
index 56237ea5fc227580580e8f27a308e97a7fb1c07b..761841903160223674df8b2a63464e39f9220988 100644
(file)
--- a/
fs/ceph/file.c
+++ b/
fs/ceph/file.c
@@
-953,7
+953,7
@@
static ssize_t ceph_write_iter(struct kiocb *iocb, struct iov_iter *from)
/* We can write back this queue in page reclaim */
current->backing_dev_info = inode_to_bdi(inode);
- err = generic_write_checks(file, &pos, &count
, S_ISBLK(inode->i_mode)
);
+ err = generic_write_checks(file, &pos, &count);
if (err)
goto out;