Message ID | 1274095138-3386-2-git-send-email-jlayton@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/fs/cifs/inode.c b/fs/cifs/inode.c index b35cb03..f52161a 100644 --- a/fs/cifs/inode.c +++ b/fs/cifs/inode.c @@ -1511,6 +1511,10 @@ cifs_inode_needs_reval(struct inode *inode) if (time_after_eq(jiffies, cifs_i->time + HZ)) return true; + /* hardlinked files get "special" treatment */ + if (S_ISREG(inode->i_mode) && inode->i_nlink != 1) + return true; + return false; }