diff options
author | Linus Torvalds | 2019-02-28 15:22:59 -0800 |
---|---|---|
committer | Linus Torvalds | 2019-02-28 15:22:59 -0800 |
commit | 3eb07d206dafc2579a2fc684338b19a209b7fc18 (patch) | |
tree | 24d221b8aa1319c829b75adc0ff2d99c75c03ba2 /fs | |
parent | 3a8ed368fc8544d002129d919cf651accf43582c (diff) | |
parent | 6e356d45950e2d26b63531a2fd112c987da7a933 (diff) |
Merge tag 'for-linus-5.0-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux
Pull orangefs fixlet from Mike Marshall:
"Remove two un-needed BUG_ONs"
* tag 'for-linus-5.0-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux:
orangefs: remove two un-needed BUG_ONs...
Diffstat (limited to 'fs')
-rw-r--r-- | fs/orangefs/file.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/orangefs/file.c b/fs/orangefs/file.c index a5a2fe76568f..b094d3d79354 100644 --- a/fs/orangefs/file.c +++ b/fs/orangefs/file.c @@ -398,8 +398,6 @@ static ssize_t orangefs_file_read_iter(struct kiocb *iocb, struct iov_iter *iter loff_t pos = iocb->ki_pos; ssize_t rc = 0; - BUG_ON(iocb->private); - gossip_debug(GOSSIP_FILE_DEBUG, "orangefs_file_read_iter\n"); orangefs_stats.reads++; @@ -416,8 +414,6 @@ static ssize_t orangefs_file_write_iter(struct kiocb *iocb, struct iov_iter *ite loff_t pos; ssize_t rc; - BUG_ON(iocb->private); - gossip_debug(GOSSIP_FILE_DEBUG, "orangefs_file_write_iter\n"); inode_lock(file->f_mapping->host); |