diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/cifs/inode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index 5b042fc46450..8e05e8a0ff8b 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c | |||
@@ -1528,6 +1528,11 @@ cifs_inode_needs_reval(struct inode *inode) | |||
1528 | if (time_after_eq(jiffies, cifs_i->time + HZ)) | 1528 | if (time_after_eq(jiffies, cifs_i->time + HZ)) |
1529 | return true; | 1529 | return true; |
1530 | 1530 | ||
1531 | /* hardlinked files w/ noserverino get "special" treatment */ | ||
1532 | if (!(CIFS_SB(inode->i_sb)->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) && | ||
1533 | S_ISREG(inode->i_mode) && inode->i_nlink != 1) | ||
1534 | return true; | ||
1535 | |||
1531 | return false; | 1536 | return false; |
1532 | } | 1537 | } |
1533 | 1538 | ||