diff options
author | Jeff Layton <jlayton@redhat.com> | 2013-05-07 11:28:31 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2013-05-24 12:55:39 -0500 |
commit | 62106e96279f66c52e2123782f9420af9dbe8cbe (patch) | |
tree | d008f1b2ff13541b62c562cdb061ecdd1acd06dd /fs/file_table.c | |
parent | 0e255f1c0c9add2f0c920240ac4cadc28ae274c3 (diff) |
cifs: only set ops for inodes in I_NEW state
It's generally not safe to reset the inode ops once they've been set. In
the case where the inode was originally thought to be a directory and
then later found to be a DFS referral, this can lead to an oops when we
try to trigger an inode op on it after changing the ops to the blank
referral operations.
Cc: <stable@vger.kernel.org>
Reported-and-Tested-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/file_table.c')
0 files changed, 0 insertions, 0 deletions