commit | 597b027f694481ffeebcffe634c24b807198d46c | [log] [tgz] |
---|---|---|
author | Jeff Layton <jlayton@redhat.com> | Fri Mar 23 14:40:56 2012 -0400 |
committer | Jeff Layton <jlayton@redhat.com> | Fri Mar 23 14:40:56 2012 -0400 |
tree | 2dce2da017aa89c9e7465014ffa7aced11393b28 | |
parent | e9492871fb0546f1b73f309d9e8c0f030bfdfdca [diff] |
cifs: call cifs_update_eof with i_lock held cifs_update_eof has the potential to be racy if multiple threads are trying to modify it at the same time. Protect modifications of the server_eof value with the inode->i_lock. Signed-off-by: Jeff Layton <jlayton@redhat.com>