diff options
author | Harshula Jayasuriya <[email protected]> | 2013-07-23 14:05:14 +1000 |
---|---|---|
committer | J. Bruce Fields <[email protected]> | 2013-07-23 12:26:51 -0400 |
commit | df66e75395c839c3a373bae897dbb1248f741b45 (patch) | |
tree | ba8ef2c7cae86d62998ea03157950de1829a83ab /fs/jbd/commit.c | |
parent | e4daf1ffbe6cc3b12aab4d604e627829e93e9914 (diff) |
nfsd: nfs4_file_get_access: need to be more careful with O_RDWR
If fi_fds = {non-NULL, NULL, non-NULL} and oflag = O_WRONLY
the WARN_ON_ONCE(!(fp->fi_fds[oflag] || fp->fi_fds[O_RDWR]))
doesn't trigger when it should.
Signed-off-by: Harshula Jayasuriya <[email protected]>
Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions